[Mono-bugs] [Bug 25682] Changed - Double.ToString not fully implemented

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
3 Jun 2002 10:02:14 -0000


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 lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=25682

--- shadow/25682	Sun Jun  2 22:40:07 2002
+++ shadow/25682.tmp.24502	Mon Jun  3 06:02:14 2002
@@ -2,22 +2,22 @@
 Product: Mono/Runtime
 Version: unspecified
 OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: duncan@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Casting longs to doubles lose precision
+Summary: Double.ToString not fully implemented
 
 Description of Problem:
 Casting longs to doubles lose precision. This is causing a bug in one of
 the tests for System.Convert.
 
 Steps to reproduce the problem:
@@ -44,6 +44,12 @@
 
 Expected Results:
 max is -9223372036854775808
 d is -9.22337203685478E+18
 Int64.MinValue: -9223372036854775808
 Int64.MaxValue: 9223372036854775807
+
+------- Additional Comments From lupus@ximian.com  2002-06-03 06:02 -------
+There is no loss of precision with the cast: the problem is that
+double.ToString() is not fully implemented and the default precision of 
+%g is just 6 decimal places (currently Double.ToString is implemented
+with a simple sprintf("%g, value")).