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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 2005-06-24 17:23 ------- +Well, it doesn't hang for me on HEAD. But: + [EMAIL PROTECTED] ~]$ cat x.cs +using System; + +public class Test +{ + public static void Main () + { + Console.WriteLine (double.Parse +("6363883797383966.2933E-726")); + } +} [EMAIL PROTECTED] ~]$ mono x.exe +NaN + + [EMAIL PROTECTED] ~ +$ ./x.exe +0 _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
