[Mono-bugs] [Bug 77067][Nor] New - Wrong rounding on float/Single
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Dec 22 10:48:47 EST 2005
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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77067
--- shadow/77067 2005-12-22 10:48:47.000000000 -0500
+++ shadow/77067.tmp.15143 2005-12-22 10:48:47.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 77067
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: sebastien at ximian.com
+ReportedBy: sebastien at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Wrong rounding on float/Single
+
+Description of Problem:
+Wrong rounding on float/Single.
+
+
+Steps to reproduce the problem:
+1. Compile this
+
+using System;
+class Program {
+ static void Main ()
+ {
+ Console.WriteLine ((1765.23454f).ToString ());
+ }
+}
+
+2. Execute under Mono
+3. Execute under MS
+
+Actual Results (Mono):
+1765.235
+
+Expected Results (MS, both 1.1 SP1 and 2.0):
+1765.234
+
+How often does this happen?
+Always
+
+Additional Information:
+* Some (maybe all) "NotWorking" Decimal ctor(float) tests fails because of
+this.
More information about the mono-bugs
mailing list