[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'sysutils' (#rtl)

# TDoubleHelper.IsInfinity

Check whether a value is positive or negative infinity.

## Declaration

Source position: syshelph.inc line 287

`public class function TDoubleHelper.IsInfinity(`
`const AValue: Double`
`):Boolean; overload; function TDoubleHelper.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

TDoubleHelper.IsNan |  | Check whether a value equals NaN.
TDoubleHelper.IsPositiveInfinity |  | Check whether a value is positive infinity.
TDoubleHelper.IsNegativeInfinity |  | Check whether a value is negative infinity.

Documentation generated on: May 14 2021