[Mono-bugs] [Bug 80507][Nor] New - incorrect comparison NaN and +Inf

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 12 12:39:38 EST 2007

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 erven.rohou at st.com.


--- shadow/80507	2007-01-12 12:39:38.000000000 -0500
+++ shadow/80507.tmp.22897	2007-01-12 12:39:38.000000000 -0500
@@ -0,0 +1,32 @@
+Bug#: 80507
+Product: Mono: Runtime
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: erven.rohou at st.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: incorrect comparison NaN and +Inf
+Description of Problem: comparing +Inf and NaN gives incorrect result
+Steps to reproduce the problem:
+1. Run the attached binary with mono
+Actual Results: 1
+Expected Results: 0
+How often does this happen?  always
+Additional Information:
+This comes from the GCC testsuite for C.
+I already wrote the testcase, but it seems the problem occurs also for
+non-infinite values compared with NaN.

More information about the mono-bugs mailing list