Single.IsNegative(Single) メソッド

定義

指定した値が負の値かどうかを判断します。

public:
 static bool IsNegative(float f) = System::Numerics::INumberBase<float>::IsNegative;
public:
 static bool IsNegative(float f);
public static bool IsNegative(float f);
static member IsNegative : single -> bool
Public Shared Function IsNegative (f As Single) As Boolean

パラメーター

f
Single

単精度浮動小数点数。

返品

true 負の場合は、それ以外の場合 false

実装

適用対象