implement math.h classification macros with compound literal and bit hack