Tolerance
The Tolerance class generalizes the notion of a tolerance
within which an equality test succeeds. Normally, it is
used with numeric types, but it can be used with any
type that supports taking a difference between two
objects and comparing that difference to a value.
Returns an empty Tolerance object, equivalent to
specifying no tolerance. In most cases, it results
in an exact match but for floats and doubles a
default tolerance may be used.
Returns a zero Tolerance object, equivalent to
specifying an exact match.
Returns a new tolerance with a TimeSpan as the amount, using
the current amount as a number of days.
Returns a new tolerance with a TimeSpan as the amount, using
the current amount as a number of hours.
Returns true if the current tolerance is empty.
Returns a new tolerance with a TimeSpan as the amount, using
the current amount as a number of milliseconds.
Returns a new tolerance with a TimeSpan as the amount, using
the current amount as a number of minutes.
Gets the ToleranceMode for the current Tolerance
Returns a new tolerance, using the current amount as a percentage.
Returns a new tolerance with a TimeSpan as the amount, using
the current amount as a number of seconds.
Returns a new tolerance with a TimeSpan as the amount, using
the current amount as a number of clock ticks.
Returns a new tolerance, using the current amount in Ulps.
Gets the value of the current Tolerance instance.
Constructs a linear tolerance of a specdified amount