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
.
Contents |
[edit] Parameters
arg | - | floating point value |
[edit] Return value
cubic root of arg
.
[edit] Example
Output:
3.000000 1.000000 5.000000 0.500000
[edit] See also
computes square root (√x) (function) |
|
raises a number to the given power (xy) (function) |