DoubleWithTolerance class final

Constructors

DoubleWithTolerance.new(double value, {double epsilon = precisionErrorTolerance})
const

Properties

epsilon double
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
final

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.