Sign in Join
FPDoc Onlineexperiment

TExtendedHelper.IsNan function

Member of TExtendedHelperpublicIn unit sysutils

Check whether a value equals NaN.

Declaration

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

Description

IsNan checks whether a Extended-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.