Single.IsNormal(Single) Méthode

Définition

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

public:
 static bool IsNormal(float f);
public static bool IsNormal(float f);
static member IsNormal : single -> bool
Public Shared Function IsNormal (f As Single) As Boolean

Paramètres

f
Single

Nombre à virgule flottante simple précision.

Retours

true si f c’est normal ; false sinon.

Remarques

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

S’applique à