1 2 3 4 5 6 7 8 9 10 11
int main () { long double x, y; x = 0x1.fffffffffffff8p1022L; x *= 2; y = 0x1.fffffffffffff8p1023L; if (memcmp (&x, &y, sizeof (x)) != 0) abort (); exit (0); }