Namespaces
Variants
Views
Actions

cbrt

From cppreference.com
< c | numeric | math
Revision as of 07:04, 20 April 2012 by P12 (Talk | contribs)

Template:c/numeric/math/sidebar

Defined in header <math.h>
float       cbrtf( float arg );
(since C99)
double      cbrt( double arg );
(since C99)
long double cbrtl( long double arg );
(since C99)

Computes cubic root of arg.

Parameters

arg - floating point value

Return value

Cubic root of arg.

Domain error occurs if arg is negative. NAN is returned in that case.

See also

computes square root (x)
(function) [edit]
raises a number to the given power (xy)
(function) [edit]