System.Math.IsZero
From RAD Studio API Documentation
Delphi
function IsZero(const A: Extended; Epsilon: Extended): Boolean; function IsZero(const A: Double; Epsilon: Double): Boolean; function IsZero(const A: Single; Epsilon: Single): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall IsZero(const System::Extended A, System::Extended Epsilon = 0.000000E+00)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Indicates when a floating-point variable or expression evaluates to zero, or very close to zero.
Use IsZero to test whether the value specified by AValue is zero, or differs from zero by at most Epsilon.