Half.IsNegative(Half) 方法

定義

判斷指定的值是否為負數。

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

參數

value
Half

Half 浮點數。

傳回

Boolean

如果為負數,則為 true;否則為 false

實作

適用於