TDoubleHelper.IsNan
Check whether a value equals NaN.
Declaration
Source position: syshelph.inc line 288
public
class function IsNan(const AValue: Double) : Boolean; Overload; Static;
function IsNan : Boolean; Overload;
Description
IsNan checks whether a Double-sized floating point value is NaN (Not a Number). 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.IsNegativeInfinity | Check whether a value is negative infinity. |
TDoubleHelper.IsPositiveInfinity | Check whether a value is positive infinity. |