From: bernhardheld Date: Wed, 30 Apr 2003 19:12:47 +0000 (+0000) Subject: support/regression/tests/float.c: workaround 33 bit hex constant X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=e459e9c11f68a2bab91d449ce0a6cde81fc1c9c3;p=fw%2Fsdcc support/regression/tests/float.c: workaround 33 bit hex constant git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2578 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 63042037..5affa4d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-04-30 Bernhard Held + + * support/regression/tests/float.c: workaround 33 bit hex constant + 2003-04-29 Scott Dattalo * src/pic/pcoderegs.c Applied patch from Jim Hawkridge diff --git a/support/regression/tests/float.c b/support/regression/tests/float.c index 827ac783..864b83c4 100644 --- a/support/regression/tests/float.c +++ b/support/regression/tests/float.c @@ -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;