positiveZeroed function
value with a negative zero's sign cleared. -0.0 already equals 0.0 and hashes alike, so it's
only the rendered form that needs this.
Implementation
double positiveZeroed(double value) => value.isNegative && value == 0 ? 0 : value;