i128_08_signed_shift_convert.c (193B)
1 typedef __int128 i128; 2 3 int test_main(void) { 4 i128 x = -((i128)1 << 70); 5 i128 y = x >> 68; 6 if ((long long)y != -4LL) return 11; 7 if ((int)(i128)12345 != 12345) return 12; 8 return 45; 9 }
kitkit | |
| git clone https://git.ryansepassi.com/git/kit.git | |
| Log | Files | Refs | README |