[Mono-bugs] [Bug 52076][Nor] New - Problems on double.ToString() and float.ToString()

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 13 Jan 2004 15:30:58 -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 carlos@unixmexico.org.


--- shadow/52076	2004-01-13 15:30:58.000000000 -0500
+++ shadow/52076.tmp.5973	2004-01-13 15:30:58.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 52076
+Product: Mono/Class Libraries
+Version: unspecified
+OS: unknown
+OS Details: Slackware 9.1 kernel 2.4.22
+Status: ASSIGNED   
+Severity: Unknown
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bk@slashdev.it               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Problems on double.ToString() and float.ToString()
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Incorrect result string for ToString method of float and double where they
+have number with exponent
+Steps to reproduce the problem:
+Run this test
+using System;
+public class ToStringTest {
+	[STAThread] 
+	static void Main(){
+		float f = 3E+20F;
+		double d = 3E+20;
+		Console.WriteLine(f.ToString());
+		Console.WriteLine(d.ToString());
+	}
+Actual Results:
+Expected Results:
+How often does this happen? 
+Additional Information:
+Mono JIT compiler version
+Massimo Prota