Method Equals
Equals(Object)
Returns a value that indicates whether the current instance and a specified object have the same value.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the obj argument is a BigRational number, and its value is equal to the value of the current BigRational instance; otherwise, false. |
Equals(BigRational)
Returns a value that indicates whether the current instance and a specified BigRational number have the same value.
Declaration
public bool Equals(BigRational b)
Parameters
Type | Name | Description |
---|---|---|
BigRational | b | The object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if this BigRational number and other have the same value; otherwise, false. |
Equals(Int64)
Returns a value that indicates whether the current instance and a specified System.Int64 number have the same value.
Declaration
public bool Equals(long b)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | b | The object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if this System.Int64 number and other have the same value; otherwise, false. |