語言

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 否則,

實作

適用於