Complex.IsOddInteger(Complex) Méthode
Définition
Important
Certaines informations concernent des produits en version préliminaire qui peuvent être considérablement modifiés avant leur sortie. Microsoft n’offre aucune garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si une valeur représente un nombre intégral impair.
public:
static bool IsOddInteger(System::Numerics::Complex value) = System::Numerics::INumberBase<System::Numerics::Complex>::IsOddInteger;
public static bool IsOddInteger(System.Numerics.Complex value);
static member IsOddInteger : System.Numerics.Complex -> bool
Public Shared Function IsOddInteger (value As Complex) As Boolean
Paramètres
- value
- Complex
Valeur à vérifier.
Retourne
true si value est un entier impair ; sinon, false.
Implémente
Remarques
Cette méthode gère correctement les valeurs à virgule flottante et retourne true3.3falsealors 3.0 retourne .
Une valeur de retour de n’implique false pas que IsEvenInteger(TSelf) retourne true. Un nombre avec une partie fractionnaire, par exemple, 3.3n’est pas pair ou impair.