System.Math.IsNan

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function IsNan(const AValue: Single): Boolean;
function IsNan(const AValue: Double): Boolean;
function IsNan(const AValue: Extended): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsNan(const float AValue)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Indique si l'évaluation d'une variable ou d'une expression ne produit pas de valeur numérique.

Utilisez IsNan pour tester si la valeur spécifiée par AValue représente NaN (non numérique). Notez que NaN est distinct de plus l'infini et de moins l'infini, qui peuvent être détectés en utilisant la fonction IsInfinite.

Voir aussi