MathF.Cbrt(Single) Method

Definition

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

Parameters

x
Single

The number whose cube root is to be found.

Returns

The cube root of x.

-or-

NaN if x is equals NaN.

Remarks

This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.

Applies to

See also