Delphi Programming

IsZero Routine

2,918pages on
this wiki
Add New Page
Add New Page Talk0
This page is intended as a supplement to the official documentation on Delphi programming. CodeGear is in the process of putting the Delphi documentation on the Web. Once they have done so, this page will link to the relevant page in the official documentation.
This article is a stub.
Please help enhance the Delphi Programming Wiki by expanding it.
see the VCL Documentation Guidelines for an overview on doc pages



function IsZero(const A: Extended; Epsilon: Extended): Boolean;

function IsZero(const A: Double; Epsilon: Double): Boolean;

function IsZero(const A: Single; Epsilon: Single): Boolean;

This function determines whether value A is within Epsilon of zero.

If Epsilon is omitted or zero, then the following tolerance is used (as of Delphi 2005):

Extended: 1e-16

Double: 1e-12

Single: 1e-4


(Please provide links to articles/source code that show how to use this item.)

See AlsoEdit

(Please provide links to items specifically related to this item.)

User Comments/TipsEdit

(Please leave your name with your comment.)

Also on Fandom

Random Wiki