Floating point math/formatting for MinGW