about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-10-22 15:45:24 -0700
committerGitHub <noreply@github.com>2024-10-22 15:45:24 -0700
commit5523a313b503290a2cf93a956f347695e71f09e4 (patch)
treefe1636058013eab2e8f354045eb8b389f45a45bf /compiler/rustc_pattern_analysis/src
parent7e162d19dd2e245dbba0e37fd12fe2cdaafdfed8 (diff)
parentc080ba539f60f8a3888ddebc52c3db157dd1b2d1 (diff)
downloadrust-5523a313b503290a2cf93a956f347695e71f09e4.tar.gz
rust-5523a313b503290a2cf93a956f347695e71f09e4.zip
Merge rust-lang/portable-simd#438: 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 -0.0, not its positive cousin.
This aligns with a recent change to the impl of Sum for floats,
in rust-lang/rust@490818851860fb257e23fe7aa0ee32eaffc4ba40
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions