[Mono-bugs] [Bug 48983][Nor] Changed - (int)double.NaN should == 0
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 29 Sep 2003 05:34:16 -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 vargaz@freemail.hu.
http://bugzilla.ximian.com/show_bug.cgi?id=48983
--- shadow/48983 2003-09-27 13:28:48.000000000 -0400
+++ shadow/48983.tmp.733 2003-09-29 05:34:16.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 48983
Product: Mono/Runtime
Version: unspecified
-OS:
+OS: unknown
OS Details: RedHat Linux 9
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: NOTABUG
Severity: 001 One hour
Priority: Normal
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: bmaurer@users.sf.net
QAContact: mono-bugs@ximian.com
@@ -31,6 +31,16 @@
Expected Results:
0
How often does this happen?
Always
+
+------- Additional Comments From vargaz@freemail.hu 2003-09-29 05:34 -------
+
+According to the description of the conv.i4 opcode in the ECMA spec,
+
+"If overflow occurs converting a floating-point type to an integer the
+value returned is unspecified"
+
+So the behavior of mono is entirely acceptable.
+