Anzeigen: Delphi
C++
Anzeigeeinstellungen
System.Math.IsZero
Aus XE2 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 PACKAGE bool __fastcall IsZero(const System::Extended A, System::Extended Epsilon = 0.000000E+00)/* overload */;
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
| function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Beschreibung
Gibt an, ob eine Gleitkommavariable oder ein Gleitkommaausdruck den Wert Null oder beinahe Null hat.
Mit IsZero können Sie prüfen, ob AValue Null oder von Null um nicht mehr als Epsilon entfernt ist.