# TotalOrderIeee754Comparer<T> 结构

## 定义

``````generic <typename T>
where T : IFloatingPointIeee754<T>public value class TotalOrderIeee754Comparer : IEquatable<System::Numerics::TotalOrderIeee754Comparer<T>>, System::Collections::Generic::IComparer<T>, System::Collections::Generic::IEqualityComparer<T>``````
``public readonly struct TotalOrderIeee754Comparer<T> : IEquatable<System.Numerics.TotalOrderIeee754Comparer<T>>, System.Collections.Generic.IComparer<T>, System.Collections.Generic.IEqualityComparer<T> where T : IFloatingPointIeee754<T>``
``````type TotalOrderIeee754Comparer<'T (requires 'T :> IFloatingPointIeee754<'T>)> = struct
interface IComparer<'T (requires 'T :> IFloatingPointIeee754<'T>)>
interface IEqualityComparer<'T (requires 'T :> IFloatingPointIeee754<'T>)>``````
``````Public Structure TotalOrderIeee754Comparer(Of T)
Implements IComparer(Of T), IEqualityComparer(Of T), IEquatable(Of TotalOrderIeee754Comparer(Of T))``````

#### 类型参数

T

TotalOrderIeee754Comparer<T>

## 方法

 将两个数字与 IEEE 754 totalOrder 语义进行比较，并返回一个值，该值指示一个数字是小于、等于还是大于另一个。 表示比较运算，该运算将浮点数与 IEEE 754 totalOrder 语义进行比较。 确定指定的数字是否相等。 指示当前对象是否等于同一类型的另一个对象。 表示比较运算，该运算将浮点数与 IEEE 754 totalOrder 语义进行比较。 返回指定数字的哈希代码。