SYNOPSIS
#include <math.h>
double scalb (double x, double n)
float scalbf (float x, float n)
double scalbn(double x, int n)
float scalbnf(float x, int n)
DESCRIPTION
The
The
An application wishing to check for error situations should set
errno to 0 before calling
The
PARAMETERS
RETURN VALUES
On success, the
If the correct value would overflow, then +HUGE_VAL or -HUGE_VAL (according to the sign of x) is returned, and:
-
In POSIX mode, errno is set to ERANGE.
-
In XOPEN or SVID mode, the
matherr() function is called.
If the correct value would underflow,
-
In POSIX mode, errno is set to ERANGE.
-
In XOPEN or SVID mode, the
matherr() function is called.
The
If x or n is NaN, then
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
MKS Toolkit 9.2 Documentation Build 16.