SYNOPSIS
#include <math.h>
double log(double x)
float logf(float x)
double log10(double x)
float log10f(float x)
double log1p(double x)
float log1pf(float x)
DESCRIPTION
The
The
The
To check for error situations, set errno to 0 before calling
PARAMETERS
RETURN VALUES
If successful, these functions return the requested results.
If x is NaN, NaN is returned.
For
-
In IEEE mode, a value of NaN is returned.
-
In POSIX mode, a value of -HUGE_VAL is returned and errno is set to EDOM.
-
In SVID mode, a value of -HUGE is returned and the
matherr() is called. -
In XOPEN mode, a value of -HUGE_VAL is returned and the
matherr() is called.
For
-
In IEEE mode, a value of -HUGE_VAL is returned.
-
In POSIX mode, a value of -HUGE_VAL is returned and errno is set to ERANGE.
-
In SVID mode, a value of -HUGE is returned and the
matherr() function is called. -
In XOPEN mode, a value of -HUGE_VAL is returned and the
matherr() function is called.
CONFORMANCE
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.