3 // regression testing program for comparing longs
6 #define COMPARE_OUT_OF_RANGE 1
8 unsigned char success = 0;
9 unsigned char failures = 0;
10 unsigned char dummy = 0;
19 unsigned long ulong0 = 0;
20 unsigned long ulong1 = 0;
156 // compare to 0x20000
169 if(ulong0 != 0x20000)
175 if(ulong1 == 0x20000)
184 /* if(long0 < 0x12345)
221 #ifdef COMPARE_OUT_OF_RANGE
244 #ifdef COMPARE_OUT_OF_RANGE
273 #ifdef COMPARE_OUT_OF_RANGE
274 if(int0 == 0x1234abcd)
280 // assumes char1 == 0
293 // assumes char0 = -1
313 // long0 = long1 = ulong0 = ulong1 == 0
315 void c_long2long_eq(void)
341 // long0 = ulong0 == 0
342 // long1 = ulong1 == 1
344 void c_long2long_neq(void)