support/regression/tests/float.c: workaround 33 bit hex constant
[fw/sdcc] / support / regression / tests / float.c
index 827ac7830f84127e80dfe4f9d11ba0193d1aeacc..864b83c484c221ca12a8f6d690ad918c7ead133d 100644 (file)
@@ -50,7 +50,8 @@ struct {
   {   0x10000,  0x10,   0x10010,    0xfff0,    0x100000,     0x1000,  0.00024414},
   {  0x100000,  0x10,  0x100010,   0xffff0,   0x1000000,    0x10000,  0 /* ignore */},
   { 0x1000000,  0x10, 0x1000010,  0xfffff0,  0x10000000,   0x100000,  0 /* ignore */},
-  {0x10000000,  0x10,0x10000010, 0xffffff0, 0x100000000,  0x1000000,  0 /* ignore */},
+  {0x10000000,  0x10,0x10000010, 0xffffff0, (float)0x10000000*0x10,
+                                                          0x1000000,  0 /* ignore */},
 };
 
 XDATA int tests=0, errors=0;