Table of Contents

Name

cbrt, cbrtf, cbrtl - cube root function

Synopsis


#include <math.h>
double cbrt(double x);
float cbrtf(float x);
long double cbrtl(long double x);

Description

The cbrt() function returns the (real) cube root of x. This function cannot fail; every representable real value has a representable real cube root.

Conforming to

cbrt() was a GNU extension. It is now a C99 requirement.

See Also

sqrt(3) , pow(3)


Table of Contents