Everything

scalbnl [V1.09 or later]


Multiply a floating-point number by an integral power of FLT_RADIX.

[Classification]

Mathematical library

[Syntax]

#include <math.h>

long double __far scalbnl(long double x, int n); (C99)

[Return value]

Returns the value calculated by x x FLT_RADIXn.

When x is a Not-a-Number (NaN), scalbnl 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 scalbnl, it sets macro ERANGE to global variable errno. If an underflow occurs, scalbnl returns an denormal number. If an overflow occurs, it returns ∞.

[Description]

Multiply a floating-point number by an integral power of FLT_RADIX.