Implementation status: to be implemented

Synopsis

#include <math.h>

double cbrt(double x);
float cbrtf(float x);
long double cbrtl(long double x);

Description

The functions compute the the real cube root of their argument x.

Arguments
x - a number.

Return value

On success these functions return the real cube root of their argument x.

If x is NaN, a NaN is returned.

If x is ±0 or ±Inf, x is returned.

Errors

No errors are defined.

Implementation tasks

  • Implement cbrt()function.
  • Implement cbrtf()function.
  • Implement cbrtl()function.