MathF.Cbrt(Single) 方法

定义

返回指定数字的立方根。Returns the cube root of a specified number.

public:
 static float Cbrt(float x);
public static float Cbrt (float x);
static member Cbrt : single -> single
Public Shared Function Cbrt (x As Single) As Single

参数

x
Single

将查找其立方根的数字。The number whose cube root is to be found.

返回

Single

x 的立方根。The cube root of x.

- 或 --or- 如果 x 等于 NaN,则为 NaNNaN if x is equals NaN.

注解

此方法调入基础 C 运行时,并且不同的操作系统或体系结构的确切结果或有效输入范围可能不同。This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.

适用于

另请参阅