FREXP(3)FREXP(3)NAME
frexp, ldexp, modf - split into mantissa and exponent
SYNOPSIS
#include <math.h>
double frexp(double value, int *eptr);
double ldexp(double value, int exp);
double modf(double value, double *iptr);
DESCRIPTION
frexp returns a mantissa x and (indirectly through eptr) an exponent n
such that x multiplied by 2 raised to n is equal to value:
value = x*2^n
ldexp returns the quantity value*2^exp.
modf returns the positive fractional part of value and stores the
integer part indirectly through iptr.
7th Edition August 1, 1992 FREXP(3)