Edit

Share via


Double.RootN(Double, Int32) Method

Definition

Computes the n-th root of a value.

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

Parameters

x
Double

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