#include <cmath>
Go to the source code of this file.
|
| double | cbrt (double __x) |
| |
| float | cbrt (float __x) |
| |
| long double | cbrt (long double __x) |
| |
| #define cbrt_for_int_type |
( |
|
t | ) |
inline double cbrt( t __x ) { return cbrt ( static_cast<double>(__x) ); } |
| #define cbrt_for_int_type |
( |
|
t | ) |
inline double cbrt( t __x ) { return cbrt ( static_cast<double>(__x) ); } |
| double cbrt |
( |
double |
__x | ) |
|
|
inline |
Definition at line 22 of file cbrt.h.
23 return ::pow( __x, static_cast<double>(1.0/3.0) );
Definition at line 28 of file cbrt.h.
30 return ::cbrtf( __x );
32 return ::pow( __x, static_cast<float>(1.0/3.0) );
| long double cbrt |
( |
long double |
__x | ) |
|
|
inline |
Definition at line 37 of file cbrt.h.
39 return ::cbrtl( __x );
41 return ::pow( __x, static_cast<long double>(1.0/3.0) );