A very minor bug: The main body of frexp's man page says the exponent returned is for a power of two. That agrees with, for example, the C99 standard as well as https://en.cppreference.com/w/cpp/numeric/math/frexp However, the sample program in the man page uses FLT_RADIX. The value of that macro need not be 2 so the man page should be changed to use 2 directly. M.