BigInteger.GreaterThan Operator

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

GreaterThan(BigInteger, BigInteger) Returns whether a BigInteger is greater than another and returns the result.
GreaterThan(BigInteger, Int32) Returns whether an integer is greater than a BigInteger.
GreaterThan(Int32, BigInteger) Returns whether an integer is greater than a BigInteger.

GreaterThan(BigInteger, BigInteger) Operator

Returns whether a BigInteger is greater than another and returns the result.
C#
public static bool operator >(
	BigInteger left,
	BigInteger right
)

Parameters

left  BigInteger
The first number to compare.
right  BigInteger
The second number to compare.

Return Value

Boolean
true if left is greater than right; otherwise false.

Implements

IComparisonOperators<TSelf, TOther, TResult>.GreaterThan(TSelf, TOther)

GreaterThan(BigInteger, Int32) Operator

Returns whether an integer is greater than a BigInteger.
C#
public static bool operator >(
	BigInteger left,
	int right
)

Parameters

left  BigInteger
The first number to compare.
right  Int32
The second number to compare.

Return Value

Boolean
true if left is greater than right; otherwise false.

GreaterThan(Int32, BigInteger) Operator

Returns whether an integer is greater than a BigInteger.
C#
public static bool operator >(
	int left,
	BigInteger right
)

Parameters

left  Int32
The first number to compare.
right  BigInteger
The second number to compare.

Return Value

Boolean
true if left is greater than right; otherwise false.

See Also