Move FLT_XXX undefines closer to defines (also eliminate redefinition warnings).
Fix potential issues with type_max/type_min/type_zero macros (min/max macros).