TExtendedHelper.IsInfinity

Check whether a value is positive or negative infinity.

Declaration

Source position: syshelph.inc line 357

public 
  class function IsInfinity(const AValue: Extended) : Boolean;  Overload
                           ;  Static;
  function IsInfinity : Boolean;  Overload;

Description

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

Name Description
TExtendedHelper.IsNan Check whether a value equals NaN.
TExtendedHelper.IsNegativeInfinity Check whether a value is negative infinity.
TExtendedHelper.IsPositiveInfinity Check whether a value is positive infinity.