ldexp functions


[Syntax]

double ldexp(double x)

float ldexpf(float x)

long double ldexpl(long double x) [V2.01.00 or later]

[Description]

These functions multiply a floating-point number by an integral power of 2.

 

[Special case]

Condition

Return value

Exception

Overflow occurred

±HUGE_VAL

ERANGE

Underflow occurred

Denormal number

ERANGE