Single.IsSubnormal(Single) Metod

Definition

Avgör om det angivna värdet är subnormalt.

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

Parametrar

f
Single

Ett flyttal med enkel precision.

Returer

true om f är subnormalt, false annars.

Kommentarer

Detta kontrollerar effektivt att värdet inte är NaN, inte oändligt, inte normalt och inte noll.

Gäller för