1 /* 2 920710-1.c from the execute part of the gcc torture suite. 3 */ 4 5 #include <testfwk.h> 6 7 #ifdef __SDCC 8 #pragma std_c99 9 #pragma disable_warning 93 10 #endif 11 12 void testTortureExecute(void)13testTortureExecute (void) 14 { 15 // Enable when sdcc supports double and unsigned long long. 16 #if 1 17 if ((double) 18446744073709551615ULL < 1.84467440737095e+19 || 18 (double) 18446744073709551615ULL > 1.84467440737096e+19) 19 ASSERT(0); 20 21 if (16777217L != (float)16777217e0) 22 ASSERT(0); 23 24 return; 25 #endif 26 } 27 28