CBRT 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

cbrtf, cbrt, cbrtl, cbrtw, cbrtq, cbrtll, cbrtdf, cbrtd, cbrtdl, cbrtdll - cube root function

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern float cbrtf (float x);

extern double cbrt (double x);

extern long double cbrtl (long double x);

extern __float80 cbrtw (__float80 x);

extern __float128 cbrtq (__float128 x);

extern long_long_double cbrtll (long_long_double x);

extern decimal_float cbrtdf (decimal_float x);

extern decimal_double cbrtd (decimal_double x);

extern decimal_long_double cbrtdl (decimal_long_double x);

extern decimal_long_long_double cbrtdll (decimal_long_long_double x);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute the cube root. The value of x should be in the range [-Infinity,+Infinity].

RETURN VALUES

For in-range arguments, the returned value is in the range [-Infinity, +Infinity]. Otherwise, the returned value is a quiet NaN.

ERRORS

For NaN arguments, the returned value is a quiet NaN, and errno is set to EDOM.

SEE ALSO

pow(3CW), rsqrt(3CW), sqrt(3CW).