1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
a (c) unsigned char c; { unsigned u = c; if ((int)u < 0) return 1; else return 0; } b (x, y) unsigned x, y; { x /= y; if ((int)x < 0) return 1; else return 0; }