[jit]Reenable int/long/double -> float rounding tests.
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 11 Dec 2013 16:15:17 +0000 (11:15 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 11 Dec 2013 16:15:25 +0000 (11:15 -0500)
mono/mini/basic-float.cs

index 11e3e2725b181f350d220009244a4f37b72986ec..e85918292c723e4effa596481b6c07485d105c8d 100644 (file)
@@ -630,9 +630,6 @@ class Tests
                return f == PositiveInfinity ? 0 : 1;
        }
 
-       /* 
-          Disabled until they can be fixed to run on amd64
-
        static double VALUE = 0.19975845134874831D;
 
        public static int test_0_float_conversion_reduces_double_precision () {
@@ -664,6 +661,14 @@ class Tests
                        return 1;
                return 0;
        }
-       */
+
+       public static int test_0_int8_to_float_convertion ()
+    {
+               double d = (double)(float)(long)INT_VAL;
+
+               if (d != 323315616)
+                       return 1;
+               return 0;
+       }
 }