[Mono-bugs] [Bug 41313][Nor] New - mini has problem converting long to single
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 14 Apr 2003 09:36:25 -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 ndrochak@gol.com.
http://bugzilla.ximian.com/show_bug.cgi?id=41313
--- shadow/41313 Mon Apr 14 09:36:25 2003
+++ shadow/41313.tmp.25104 Mon Apr 14 09:36:25 2003
@@ -0,0 +1,30 @@
+Bug#: 41313
+Product: Mono/Runtime
+Version: unspecified
+OS: Red Hat 8.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: ndrochak@gol.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mini has problem converting long to single
+
+The following code should output "1234568E+11". It worked on mono, but
+gives a bogus answer with mini.
+-----------------------------------
+using System;
+
+class C {
+
+ public static void Main () {
+ long tryInt64 = 123456789012;
+ Console.WriteLine (Convert.ToSingle(tryInt64));
+ }
+}