help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'math' (#rtl)

IsZero

Check whether value is zero

Declaration

Source position: line 0

function IsZero(

  const A: Single;

  Epsilon: Single

):Boolean;

function IsZero(

  const A: Single

):Boolean;

function IsZero(

  const A: Extended;

  Epsilon: Extended

):Boolean;

function IsZero(

  const A: Extended

):Boolean;

Description

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 is dependent on the type of the arguments, but is MinFloat for the float type.

See also

IsNan

  

Check whether value is Not a Number

IsInfinite

  

Check whether value is infinite

SameValue

  

Check whether 2 float values are the same

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505