double frexp(double x, int *exp)
float frexpf(float x, int *exp)
These functions divide x into a normalized number and an integral power of 2. They return the normalized number and store the integer in the int object pointed to by exp.
Assuming that the returned value is ret, it satisfies the following conditions.