[Mono-bugs] [Bug 75228][Nor] Changed - double.Parse
("6363883797383966.2933E-726") gives NaN not 0
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jun 24 17:23:15 EDT 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 bmaurer at users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=75228
--- shadow/75228 2005-06-11 00:47:29.000000000 -0400
+++ shadow/75228.tmp.3334 2005-06-24 17:23:15.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 75228
-Product: Mono: Runtime
+Product: Mono: Class Libraries
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
-Component: misc
+Component: CORLIB
AssignedTo: mono-bugs at ximian.com
ReportedBy: atsushi at ximian.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: double.Parse ("6363883797383966.2933E-726") causes infinite loop
+Summary: double.Parse ("6363883797383966.2933E-726") gives NaN not 0
Compile and run this example code with --trace option:
--------
using System;
@@ -36,6 +36,28 @@
. . . . ENTER: (wrapper managed-to-native) System.Double:ParseImpl
(byte*)(01BFB
DF0, )
Expected Results:
finished successfully.
+
+------- Additional Comments From bmaurer at users.sf.net 2005-06-24 17:23 -------
+Well, it doesn't hang for me on HEAD. But:
+
+[benm at omega ~]$ cat x.cs
+using System;
+
+public class Test
+{
+ public static void Main ()
+ {
+ Console.WriteLine (double.Parse
+("6363883797383966.2933E-726"));
+ }
+}
+[benm at omega ~]$ mono x.exe
+NaN
+
+
+admin at cygwin-mono ~
+$ ./x.exe
+0
More information about the mono-bugs
mailing list