[Mono-bugs] [Bug 42786][Nor] New - Math.IEEERemainder fail - mini bug.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 12 May 2003 06:12:53 -0400 (EDT)
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 chris@void.printf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=42786
--- shadow/42786 Mon May 12 06:12:53 2003
+++ shadow/42786.tmp.29905 Mon May 12 06:12:53 2003
@@ -0,0 +1,48 @@
+Bug#: 42786
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: chris@void.printf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Math.IEEERemainder fail - mini bug.
+
+The test suite's Math.IEEERemainder test is currently failing, due to a bug
+in mini. Given the test case:
+
+ public class IEEETest {
+ public static void Main() {
+ double x = 0.1234;
+ double y = 12.345;
+
+
+ double a = System.Math.IEEERemainder(y, x);
+ double b = 0.0050000000000007816;
+
+
+ System.Console.WriteLine("a: {0}. b: {1}", a.ToString("G99"),
+ b.ToString("G99"));
+ }
+ }
+
+.. I see, using current CVS:
+
+gpb156:chris~ % mono ieee.exe
+a: 0.00500000000000106. b: 0.00500000000000078
+gpb156:chris~ % oldmono ieee.exe
+a: 0.00500000000000078. b: 0.00500000000000078
+
+The test case given is the same test currently failing in the test suite.
+
+Cheers,
+
+- Chris.