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)
float scalblnf(float x, long n);
double scalbln(double x, long n);
longĀ doubleĀ scalblnl(long double x, long n);
long double scalbnl(long double 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
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.