[Mono-bugs] [Bug 76553][Maj] New - Mono JIT on ARM has trouble with doubles

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Oct 25 13:40:00 EDT 2005


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 alp at atoker.com.

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

--- shadow/76553	2005-10-25 13:40:00.000000000 -0400
+++ shadow/76553.tmp.5882	2005-10-25 13:40:00.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 76553
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: alp at atoker.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono JIT on ARM has trouble with doubles
+
+Mono SVN head compiled for ARM, reportedly both high and low endian,
+suffers this problem:
+
+      using System;
+       
+      class T{
+              static void Main (string [] args) {
+                      Int64 a = 255;
+                      double b = 255;
+                      double c = (double)a;
+       
+                      if (a == b)
+                              Console.WriteLine ("a == b");
+                      if (a < b)
+                              Console.WriteLine ("a < b");
+                      if (a > b)
+                              Console.WriteLine ("a > b");
+                      if (a == c)
+                              Console.WriteLine ("a == c");
+                      if (a < c)
+                              Console.WriteLine ("a < c");
+                      if (a > c)
+                              Console.WriteLine ("a > c");
+                      if (b == c)
+                              Console.WriteLine ("b == c");
+                      if (b < c)
+                              Console.WriteLine ("b < c");
+                      if (b > c)
+                              Console.WriteLine ("b > c");
+              }
+      }   
+       
+      a == b
+      a < b
+      a > b
+      a == c
+      a < c
+      a > c
+      b == c
+      b < c
+      b > c


More information about the mono-bugs mailing list