Sign in Join
FPDoc Onlineexperiment

TDoubleHelper.IsNan function

Member of TDoubleHelperpublicIn unit sysutils

Check whether a value equals NaN.

Declaration

pascal
class function IsNan(const AValue: Double): Boolean; overload; static
function IsNan: Boolean; overload

Description

IsNan checks whether a Double-sized floating point value is NaN (Not a Number). If so, it returns True. When the class function version is used, the value can be specified using AValue. In the method version, the used value is ( Self).

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.