SYNOPSIS
#include <math.h>
double cbrt(double x)
float cbrtf(float x)
double sqrt(double x)
float sqrtf(float x)
DESCRIPTION
The
The
To check for errors, set errno to 0 before calling
The
PARAMETERS
RETURN VALUES
The
If x is NaN,
If x is negative, cbrt(x) and sqrt(x) do one of the following based on the current math mode:
-
In IEEE mode, a value of NaN is returned.
-
In POSIX mode, a value of NaN is returned and errno is set to EDOM.
-
In SVID mode, a value of 0.0 is returned and
matherr() is called. -
In XOPEN mode, a value of NaN is returned and
matherr() is called.
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
PTC MKS Toolkit 10.5 Documentation Build 40.