Everything

scalbnf [V1.09 or later]


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

[Classification]

Mathematical library

[Syntax]

#include <math.h>

float __far scalbnf(float x, int n); (C99)

[Return value]

Returns the value calculated by x x FLT_RADIXn.

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

[Description]

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