std::cbrt
From cppreference.com
| Defined in header <cmath>
|
||
| float cbrt( float arg ); |
(since C++11) | |
| double cbrt( double arg ); |
(since C++11) | |
| long double cbrt( long double arg ); |
(since C++11) | |
| double cbrt( Integral arg ); |
(since C++11) | |
Computes cubic root of arg.
[edit] Parameters
| arg | - | floating point value |
[edit] Return value
cubic root of arg.
Domain error occurs if arg is negative. NAN is returned in that case.
[edit] See also
| computes square root (√x) (function) | |
| raises a number to the given power (xy) (function) | |