[Mono-bugs] [Bug 60110][Nor] Changed - Double.ToString with format R does not roundtrip

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 16 Jun 2004 12:08:00 -0400 (EDT)


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

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

--- shadow/60110	2004-06-12 12:36:08.000000000 -0400
+++ shadow/60110.tmp.6416	2004-06-16 12:08:00.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 60110
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: gert.driesen@pandora.be               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -42,6 +42,16 @@
 Format R: 2.7182818284590451
 
 On Mono, you'll get :
 
 Format R: 2.71828182845904
 Roundtrip format failure
+
+------- Additional Comments From sebastien@ximian.com  2004-06-16 12:07 -------
+The "R" format isn't supported by Mono. It currently returns the same
+result as "G" which isn't precise enough.
+
+The current design (Normalize in FloatingPointFormatter) cannot be
+used to implement "R" because it loose precision when doing
+multiplication (so we end up with the right number of decimals but not
+with the proper numbers).
+