Big Integer.Equality Operator
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Equality( | Returns whether a BigInteger is equal to another and returns the result. |
Equality( | Returns whether a BigInteger is equal to an integer. |
Equality( | Returns whether a BigInteger is equal to an integer. |
Equality(BigInteger, BigInteger) Operator
Returns whether a BigInteger is equal to another and returns the result.
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
Booleantrue if left is equal to right; otherwise false.
Implements
IEqualityOperators<TSelf, TOther, TResult>.Equality(TSelf, TOther)Equality(BigInteger, Int32) Operator
Returns whether a BigInteger is equal to an integer.
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
Booleantrue if left is equal to right; otherwise false.
Equality(Int32, BigInteger) Operator
Returns whether a BigInteger is equal to an integer.
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
Booleantrue if left is equal to right; otherwise false.