[MLton-commit] r4674

Stephen Weeks MLton@mlton.org
Tue, 4 Jul 2006 13:26:38 -0700


The behavior of Real.nextAfter (x, y) has changed when x and y are
both zero and of different signs.  MLton used to return x, but it now
returns y.

----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/regression/real.ok

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/regression/real.ok
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/regression/real.ok	2006-07-04 20:25:17 UTC (rev 4673)
+++ mlton/branches/on-20050822-x86_64-branch/regression/real.ok	2006-07-04 20:26:36 UTC (rev 4674)
@@ -2900,7 +2900,7 @@
 0.0
 0.0
 nan
-0.0
+~0.0
 nan
 inf
 ~inf
@@ -4783,8 +4783,8 @@
 0.0
 ~0.0
 nan
-~0.0
 0.0
+0.0
 ~0.34028235E39
 0.34028235E39
 0.0
@@ -11837,7 +11837,7 @@
 0.0
 0.0
 nan
-0.0
+~0.0
 nan
 inf
 ~inf
@@ -13720,8 +13720,8 @@
 0.0
 ~0.0
 nan
-~0.0
 0.0
+0.0
 ~0.17976931348623157E309
 0.17976931348623157E309
 0.0