about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-09-11 19:29:51 -0700
committerJubilee Young <workingjubilee@gmail.com>2024-09-11 19:40:12 -0700
commit00c3b6d68e1a50bb9323b13ae5cf1ab3820da56d (patch)
tree4b633f66733a161fdfbb665aeef209cab276aebc /compiler/rustc_pattern_analysis/src
parent5fb43ca86f09ef963fffb995c359c380d7beab2f (diff)
downloadrust-00c3b6d68e1a50bb9323b13ae5cf1ab3820da56d.tar.gz
rust-00c3b6d68e1a50bb9323b13ae5cf1ab3820da56d.zip
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@490818851860fb257e23fe7aa0ee32eaffc4ba40 and
accordingly we also have to use the latest toolchain for our tests now.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions