TDoubleHelper.IsPositiveInfinity

Check whether a value is positive infinity.

Declaration

Source position: syshelph.inc line 290

public 
  class function IsPositiveInfinity(const AValue: Double) : Boolean
                                   ;  Overload;  Static;
  function IsPositiveInfinity : Boolean;  Overload;

Description

IsPositiveInfinity checks whether a Double-sized floating point value represents a positive 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
TDoubleHelper.IsInfinity Check whether a value is positive or negative infinity.
TDoubleHelper.IsNan Check whether a value equals NaN.
TDoubleHelper.IsNegativeInfinity Check whether a value is negative infinity.