doubleEqual function
Returns a value indicating whether two instances of Double represent the same value.
value
equal to other
will return true
, otherwise, false
.
If value
or other
is not finite (NaN
or infinity), throws an UnsupportedError.
Implementation
bool doubleEqual(double value, double other) {
return doubleCompare(value, other) == 0;
}