[Mono-bugs] [Bug 52076][Nor] New - Problems on double.ToString() and float.ToString()
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Dec 2003 17:28:32 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by bk@slashdev.it.
http://bugzilla.ximian.com/show_bug.cgi?id=52076
--- shadow/52076 2003-12-11 17:28:32.000000000 -0500
+++ shadow/52076.tmp.20428 2003-12-11 17:28:32.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 52076
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details: Slackware 9.1 kernel 2.4.22
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bk@slashdev.it
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Problems on double.ToString() and float.ToString()
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Incorrect result string for ToString method of float and double where they
+have number with exponent
+
+Steps to reproduce the problem:
+Run this test
+using System;
+public class ToStringTest {
+ [STAThread]
+ static void Main(){
+ float f = 3E+20F;
+ double d = 3E+20;
+ Console.WriteLine(f.ToString());
+ Console.WriteLine(d.ToString());
+ }
+}
+
+
+Actual Results:
+3.E+20
+3.E+20
+
+Expected Results:
+3E+20
+3E+20
+
+How often does this happen?
+Always
+
+Additional Information:
+Mono JIT compiler version 0.29.99.20031211
+
+Massimo Prota