Edit

Share via


Single.RootN(Single, Int32) Method

Definition

Computes the n-th root of a value.

C#
public static float RootN(float x, int n);

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

Product Versions
.NET 7, 8, 9, 10