[Mono-bugs] [Bug 55008][Wis] Changed - Double.Parse cannot parse Double.MaxValue

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 29 Feb 2004 16:59:09 -0500 (EST)

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 jaak@zd.com.pl.


--- shadow/55008	2004-02-29 16:47:11.000000000 -0500
+++ shadow/55008.tmp.4126	2004-02-29 16:59:09.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 55008
 Product: Mono/Class Libraries
 Version: unspecified
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: jaak@zd.com.pl               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -51,6 +51,23 @@
 s: 1.79769313486232E+308
 s2: 1.79769313486232E+308
 How often does this happen? 
 All the time.
+------- Additional Comments From jaak@zd.com.pl  2004-02-29 16:59 -------
+Looks like this bug is hidden deep inside "bsd_strtod()" in
+mono/mono/utils, or at least the function doesn't correctly handle the
+CLR double range.
+Is there anybody on the planet who can read this code? 
+Is there any particular reason why this can't be rewritten in managed
+code where you can (hopefully) avoid all those:???
+#ifdef IBM
+#ifdef Sudden_Underflow
+#ifdef IEEE_Arith
+#ifndef Inaccurate_Divide