System.Math.IsNan
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 */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Indicates when a variable or expression does not evaluate to a numeric value.
Use IsNan to test whether the value specified by AValue represents NaN (not a number). Note that NaN is distinct from positive and negative infinity, which can be detected using the IsInfinite function.