cbrt函数
概要:
#include <math.h> double cbrt(double );
描述:
该函数计算参数的立方根。
参数:
double
参数为double类型的浮点数。
返回值:
函数返回的值。
范例:
|
|
输出:
The cube root of 8.000000 is 2.000000.
相关内容:
| cbrtf | float类型的立方根函数。 |
| cbrtl | long double类型的立方根函数。 |
| cbrtd32 | _Decimal32类型的立方根函数。 |
| cbrtd64 | _Decimal64类型的立方根函数。 |
| cbrtd128 | _Decimal128类型的立方根函数。 |
主要参考资料: