[Mono-bugs] [Bug 82001][Maj] Changed - Bug in the Math.Max function

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 3 13:58:27 EDT 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 juraj at hotfeet.ch.

http://bugzilla.ximian.com/show_bug.cgi?id=82001

--- shadow/82001	2007-07-03 13:47:49.000000000 -0400
+++ shadow/82001.tmp.20676	2007-07-03 13:58:27.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: All
 OS Details: RHEL WS 4, kernel 2.6.9-42 on i686 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: Dan.Maser at inin.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -47,6 +47,18 @@
 
 
 How often does this happen? 
 every time, unless the optimizations are adjusted
 
 Additional Information:
+
+------- Additional Comments From juraj at hotfeet.ch  2007-07-03 13:58 -------
+I'm using mono from SVN (r81170) and it happens here as well: 
+
+[js at leonardo ~]$ mono test.exe 
+Math.Max(a, b) is -2147483647
+
+If you turn off "Intrinsic method implementations", you get the right
+result:
+
+[js at leonardo ~]$ mono --optimize=-intrins test.exe 
+Math.Max(a, b) is 100


More information about the mono-bugs mailing list