Go to the first, previous, next, last section, table of contents.


cbrt

Syntax

#include <math.h>

double cbrt(double x);

Description

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.).

Return Value

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.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.