System.Math.IsInfinite
Delphi
function IsInfinite(const AValue: Single): Boolean;
function IsInfinite(const AValue: Double): Boolean;
function IsInfinite(const AValue: Extended): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall IsInfinite(const float AValue)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Indicates when a variable or expression represents an infinite value.
Use IsInfinite to test whether the value specified by AValue represents positive or negative infinity. Use the Sign function to distinguish positive infinity from negative infinity.