#define ANG45 0x20000000 #define ANG90 0x40000000 #define ANG180 0x80000000 #define ANG270 0xc0000000 Like angles, that you might want 0-360, without ever seeing negatives, or numbers bigger than 360, they used unsigned. It actually makes sense. As does -angle.