Single.IsSubnormal(Single) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.