Go to the first, previous, next, last section, table of contents.
#include <math.h> double cbrt(double x);
This function computes the cube root of x. It is faster and more
accurate to call cbrt(x)
than to call
pow(x, 1./3.)
.
The cube root of x. If the value of x is NaN
, the
return value is NaN
and errno
is set to EDOM
.
Infinite arguments are returned unchanged, without setting
errno
.
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.