SYNOPSIS
#include <math.h>
double exp(double x)
double exp2(double x)
float expf(float x)
float exp2f(float x)
double expm1(double x)
float expm1f(float x)
DESCRIPTION
The
The
The
To check for error situations, set errno to 0
before calling
The
PARAMETERS
RETURN VALUES
The
The
The
If the return value would overflow, one of the following occurs:
-
In IEEE mode, Inf is returned.
-
In POSIX mode, Inf is returned and errno is set to ERANGE.
-
In SVID mode, HUGE_VAL is returned and
matherr() is called. -
In XOPEN mode, Inf is returned and
matherr() is called.
If the return value would underflow, 0.0 is returned and:
-
In POSIX mode, errno is set to ERANGE.
-
In SVID or XOPEN mode,
matherr() is called.
If x is NaN, NaN is returned.
CONFORMANCE
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
At high levels of compiler optimizations, the hardware handles the
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.5 Documentation Build 40.