# TotalOrderIeee754Comparer<T>.Equals Method

## Definition

 Equals(TotalOrderIeee754Comparer) Indicates whether the current object is equal to another object of the same type. Equals(Object) Equals(T, T) Determines whether the specified numbers are equal.

## Equals(TotalOrderIeee754Comparer<T>)

Indicates whether the current object is equal to another object of the same type.

``````public:
virtual bool Equals(System::Numerics::TotalOrderIeee754Comparer<T> other);``````
``public bool Equals (System.Numerics.TotalOrderIeee754Comparer<T> other);``
``override this.Equals : System.Numerics.TotalOrderIeee754Comparer<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> -> bool``
``Public Function Equals (other As TotalOrderIeee754Comparer(Of T)) As Boolean``

#### Parameters

other
TotalOrderIeee754Comparer<T>

An object to compare with this object.

#### Returns

`true` if the current object is equal to the `other` parameter; otherwise, `false`.

## Equals(Object)

``````public:
override bool Equals(System::Object ^ obj);``````
``public override bool Equals (object? obj);``
``override this.Equals : obj -> bool``
``Public Overrides Function Equals (obj As Object) As Boolean``

obj
Object

## Equals(T, T)

Determines whether the specified numbers are equal.

``````public:
virtual bool Equals(T x, T y);``````
``public bool Equals (T? x, T? y);``
``override this.Equals : 'T * 'T -> bool``
``Public Function Equals (x As T, y As T) As Boolean``

#### Parameters

x
T

The first number of type `T` to compare.

y
T

The second number of type `T` to compare.

#### Returns

`true` if the specified numbers are equal; otherwise, `false`.

### Remarks

There is no corresponding equals semantic with totalOrder defined by IEEE 754 specification. This method returns `true` when Compare(T, T) returns 0.