The ldexp function

Name

ldexp -- 

Synopsis

#include <math.h>

double ldexp (double x, int exp);

Description

The ldexp function multiplies a floating point number by an integral power of 2. A range error may occur.

Returns

The ldexp function returns the value of x times 2 raised to the power exp.

See Also

The frexp function

Implementation Notes

None