[Mono-bugs] [Bug 56005][Min] New - Mono Convert.ToSingle(double) throws exception, .NET doesn't
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 24 Mar 2004 14:05:23 -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 reali@acm.org.
http://bugzilla.ximian.com/show_bug.cgi?id=56005
--- shadow/56005 2004-03-24 14:05:23.000000000 -0500
+++ shadow/56005.tmp.31295 2004-03-24 14:05:23.000000000 -0500
@@ -0,0 +1,24 @@
+Bug#: 56005
+Product: Mono: Class Libraries
+Version: unspecified
+OS: SuSE 8.1
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: reali@acm.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Mono Convert.ToSingle(double) throws exception, .NET doesn't
+
+Convert.ToSingle(double) throws an exception for values that are greater
+than Float.MaxValue or smaller than Float.MinValue.
+
+Although this makes sense, Microsoft's .NET Framework doesn't throw the
+exception here, but does just a (float)value. MSDN documentation mentions
+no exception.