語言

Single.IsSubnormal(Single) 方法

定義

判斷指定值是否低於正常值。

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

參數

f
Single

一個單精度浮點數。

傳回

true 若 f 低於正規值; false 否則。

實作

備註

這實際上檢查了值不是 NaN、不是無限、不是正常,也不是零。

適用於