SYNOPSIS
#include <math.h>
double log(double x)
float logf(float x)
double log2(double x)
float log2f(float x)
double log10(double x)
float log10f(float x)
double log1p(double x)
float log1pf(float x)
DESCRIPTION
The
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
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.