FREXP(1) C LIBRARY FUNCTIONS FREXP(1) NAME frexp and ldexp - free exponent and load exponent functions. SYNOPSIS double frexp(double value, int *exp_ptr); double ldexp(double value, int exp); INCLUDE FILE math.h DESCRIPTION frexp() and ldexp() are primitives called by other functions in the library. frexp(v,&exp) returns a double x in the range [1/2 , 1[ or 0, such that v = x * 2^exp is true. ldexp(x,n) returns x * 2**n computed by exponent manipulation rather than by actually performing an exponentiation or a multiplication. SEE ALSO exp(), pow().