语言

Half.IsNegative(Half) 方法

定义

确定指定的值是否为负值。

public:
 static bool IsNegative(Half value) = System::Numerics::INumberBase<Half>::IsNegative;
public:
 static bool IsNegative(Half value);
public static bool IsNegative(Half value);
static member IsNegative : Half -> bool
Public Shared Function IsNegative (value As Half) As Boolean

参数

value
Half

浮 Half 点数。

返回

true 如果为负;则为 false 否则。

实现

适用于