Skip to content

TSingleHelper.IsPositiveInfinity

Check whether a value is positive infinity.

Declaration

Source position: syshelph.inc line 697

public 
class function IsPositiveInfinity(const AValue: Single) : Boolean
                                 ;  overload;  static; overload;

function IsPositiveInfinity : Boolean;  overload; overload;

Description

IsPositiveInfinity checks whether a single-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
TSingleHelper.IsNan Check whether a value equals NaN.
TSingleHelper.IsNegativeInfinity Check whether a value is negative infinity.
TSingleHelper.IsInfinity Check whether a value is positive or negative infinity.