[Mono-bugs] [Bug 53701][Min] New - Printing floats sometimes incorrect
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 1 Feb 2004 09:42:33 -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 dave-mono@earth.li.
http://bugzilla.ximian.com/show_bug.cgi?id=53701
--- shadow/53701 2004-02-01 09:42:33.000000000 -0500
+++ shadow/53701.tmp.10603 2004-02-01 09:42:33.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 53701
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: dave-mono@earth.li
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Printing floats sometimes incorrect
+
+Description of Problem:
+
+There appears to be something wrong with printing floating point numbers.
+
+Steps to reproduce the problem:
+1.
+using System;
+
+class t1
+{
+ static void Main(string [] args )
+ {
+ Console.WriteLine("Value: {0}", 10000000000000000000.0f.ToString());
+ }
+}
+
+
+Actual Results:
+Value: 0E+18
+
+Expected Results:
+Value: 1E+19