7.12.6.6 The ldexp functions

Synopsis

1

#include <math.h>
double ldexp(double x, int exp);
float ldexpf(float x, int exp);
long double ldexpl(long double x, int exp);

Description

2

The ldexp functions multiply a floating-point number by an integral power of 2. A range error may occur.

Returns

3

The ldexp functions return x 2exp .