Sign in Join
FPDoc Onlineexperiment

TDoubleHelper.IsInfinity function

Member of TDoubleHelperpublicIn unit sysutils

Check whether a value is positive or negative infinity.

Declaration

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

Description

IsInfinity checks whether a Double-sized floating point value represents a positive or negative infinity. 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.