support/regression/tests/float.c: workaround 33 bit hex constant
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 30 Apr 2003 19:12:47 +0000 (19:12 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 30 Apr 2003 19:12:47 +0000 (19:12 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2578 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
support/regression/tests/float.c

index 6304203795bb01ffaed6a8f05565afe44ff3e210..5affa4d760d0d22fefb0fc8852e9c312bb2e4b18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-30  Bernhard Held <bernhard@bernhardheld.de>
+
+       * support/regression/tests/float.c: workaround 33 bit hex constant
+
 2003-04-29  Scott Dattalo  <scott@dattalo.com>
 
        * src/pic/pcoderegs.c Applied patch from Jim Hawkridge <jim@jimhawkridge.uk.eu.org>
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;