Syntax
#include <math.h>
double frexp(double x, int *expptr);
float frexpf(float x, int *expptr);
Arguments
x original numeric value
expptr pointer to the n value of the formula x=m*(2^n)
Return Value
The m value of the formula x=m*(2^n)
Description
Finds m and n to satisfy the formula x=m*(2^n), where the absolute value of m is less than 1.0 and greater than 0.5.