Gets or sets the relative tolerance within which
two numbers compare equal.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Property Tolerance As Double |
| C# |
|---|
public double Tolerance { get; set; } |
| C++ |
|---|
public: double Tolerance { double get (); void set (double value); } |
Value
A small positive real number.
Remarks
Two numbers are considered equal if
the absolute value of their difference is less
than Tolerance times the larger of
the absolute values of the two numbers.
To be meaningful, the value of this property should be a small number larger than Epsilon.