scalbn(3M)
NAME
scalbn - load exponent of a radix-independent floating-point
number
SYNOPSIS
cc [ flag ... ] file ... -lm [ library ... ]
#include <math.h>
double scalbn(double x, int n);
DESCRIPTION
The scalbn() function computes x * r**n , where r is the
radix of the machine's floating point arithmetic.
RETURN VALUES
Upon successful completion, the scalbn() function returns x
* r**n.
If the correct value would overflow, scalbn() returns
_HUGE_VAL (according to the sign of x).
The scalbn() function returns x when x is _Inf.
If x is NaN, then scalbn() returns NaN.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
attributes(5)
Man(1) output converted with
man2html