ldexpl [V1.08 or later]


Multiply a floating-point number and an integral power of 2

[Classification]

Mathematical library

[Syntax]

#include <math.h>

long double __far ldexpl(long double val, int exp); (C99)

[Return value]

Returns the value calculated byval x 2 exp.

When val is a Not-a-Number (NaN), ldexpl returns a Not-a-Number (NaN) and sets macro EDOM to global variable errno.

If an underflow or overflow occurs as a result of executing ldexpl, it sets macro ERANGE to global variable errno. If an underflow occurs, ldexpl returns an denormal number. If an overflow occurs, it returns ∞.

[Description]

Multiply a floating-point number and an integral power of 2.