f (unsigned char x) { return (0x50 | (x >> 4)) ^ 0xff; } main () { if (f (0) != 0xaf) abort (); exit (0); }