Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use -0.0 as the neutral additive float
-0.0 + 0.0 is 0.0 -0.0 + -0.0 is -0.0 Thus, the float additive-zero is actually -0.0, not its positive cousin. This change aligns with a recent change to the impl of Sum for floats, in rust-lang/rust@4908188 and accordingly we also have to use the latest toolchain for our tests now.
- Loading branch information