Single.IsSubnormal(Single) Méthode

Définition

Détermine si la valeur spécifiée est subnormale.

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

Paramètres

f
Single

Nombre à virgule flottante simple précision.

Retours

true s’il f s’agit d’un sous-normal ; false sinon.

Remarques

Cela vérifie efficacement que la valeur n’est pas NaN, pas infinie, pas normale, et non zéro.

S’applique à