| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Check whether value is zero
Source position: math.pp line 248
function IsZero(  | 
const A: Single;  | 
Epsilon: Single  | 
):Boolean; overload;  | 
const A: Single  | 
):Boolean; overload;  | 
const A: Double;  | 
Epsilon: Double  | 
):Boolean; overload;  | 
const A: Double  | 
):Boolean; overload;  | 
const A: Extended;  | 
Epsilon: Extended  | 
):Boolean; overload;  | 
const A: Extended  | 
):Boolean; overload;  | 
IsZero checks whether the float value A is zero, up to a precision of Epsilon. It returns True if Abs(A) is less than Epsilon.
The default value for Epsilon depends on the type of the argument: it is 1E-4 for Single, 1E-12 for Double and 1E-16 for extended.
  | 
Check whether value is Not a Number  | 
|
  | 
Check whether value is infinite  | 
|
  | 
Check whether 2 float values are the same  |