The tolerance for the equality operation. If the two numbers are being
compared within this then consider them equal. This is to account for losses
in accuracy because these are floating point operations.
Tolerance is to 12 digits, double has a precission of 15-16 digits.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public const double EQUALITY_TOLERANCE
Public Const EQUALITY_TOLERANCE As Double
public: literal double EQUALITY_TOLERANCE