Skip to content

ExtendedNumerics.Helpers.BigIntegerHelper.NthRoot(thisSystem.Numerics.BigInteger,int,System.Numerics.BigInteger)

Adam White edited this page Oct 7, 2024 · 1 revision

BigIntegerHelper.NthRoot(this BigInteger, int, BigInteger) Method

Returns the NTHs root of a System.Numerics.BigInteger with remainder.

The root must be greater than or equal to 1 or value must be a positive integer.

public static System.Numerics.BigInteger NthRoot(this System.Numerics.BigInteger value, int root, out System.Numerics.BigInteger remainder);

Parameters

value System.Numerics.BigInteger

root System.Int32

remainder System.Numerics.BigInteger

Returns

System.Numerics.BigInteger

Exceptions

System.ArgumentException

Clone this wiki locally