DoubleWithTolerance class final
Constructors
- DoubleWithTolerance.new(double value, {double epsilon = precisionErrorTolerance})
-
const
Properties
Methods
-
isEqual(
Object other) → bool -
isGreaterThan(
Object other) → bool -
isGreaterThanOrEqual(
Object other) → bool -
isLessThan(
Object other) → bool -
isLessThanOrEqual(
Object other) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator %(
Object other) → double -
operator *(
Object other) → double -
operator +(
Object other) → double -
operator -(
Object other) → double -
operator /(
Object other) → double -
operator <(
Object other) → bool -
operator <=(
Object other) → bool -
operator ==(
Object other) → bool -
The equality operator.
override
-
operator >(
Object other) → bool -
operator >=(
Object other) → bool -
operator ~/(
Object other) → int
Constants
- precisionErrorTolerance → const double
- The epsilon of tolerable double precision error.