Skip to content

IsNan

Check whether value is Not a Number

Declaration

Source position: math.pp line 259

  function IsNan(const d: Single) : Boolean;  Overload;
  function IsNan(const d: Double) : Boolean;  Overload;
  function IsNan(const d: Extended) : Boolean;  Overload;

Description

IsNan returns True if the double d contains Not A Number (a value which cannot be represented correctly in double format).

See also

Name Description
IsInfinite Check whether value is infinite
IsZero Check whether value is zero