Closed as not planned
Description
final mSet = Set<double>();
mSet.addAll([-0.0, 0.0]);
print(mSet);
outputs {0}
Meanwhile:
final mSet = SplayTreeSet<double>();
mSet.addAll([-0.0, 0.0]);
print(mSet);
outputs {-0.0, 0}
I don't know if it's expected, but
print(-0.0 == 0.0);
gives me true
, so I expect Set (and any of its implementations) to treat it as the same number