Half.LessThan(Half, Half) 运算符

定义

返回一个值,该值指示指定的 Half 值是否小于另一个指定的 Half 值。

public:
 static bool operator <(Half left, Half right);
public:
 static bool operator <(Half left, Half right) = System::Numerics::IComparisonOperators<Half, Half>::op_LessThan;
public static bool operator < (Half left, Half right);
static member ( < ) : Half * Half -> bool
Public Shared Operator < (left As Half, right As Half) As Boolean

参数

left
Half

要比较的第一个值。

right
Half

要比较的第二个值。

返回

Boolean

如果 left 小于 right,则为 true;否则为 false

实现

System.Numerics.IComparisonOperators`2.op_LessThan(`0,`1)

适用于