Single.RootN(Single, Int32) Method (System) (original) (raw)

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Computes the n-th root of a value.

public:
 static float RootN(float x, int n) = System::Numerics::IRootFunctions<float>::RootN;
public static float RootN(float x, int n);
static member RootN : single * int -> single
Public Shared Function RootN (x As Single, n As Integer) As Single

Parameters

x

Single

The value whose n-th root is to be computed.

n

Int32

The degree of the root to be computed.

Returns

The n-th root of x.

Implements

Applies to