about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorJules Bertholet <julesbertholet@quoi.xyz>2025-09-05 02:01:18 -0400
committerJules Bertholet <julesbertholet@quoi.xyz>2025-09-05 02:01:18 -0400
commitbc17bcdef005f427c74a39161dcfd1cd5d3b1a3c (patch)
tree94c5aa6c6a703b0adcd43847897793e0e2cc48dd /compiler/rustc_codegen_llvm/src/errors.rs
parent91edc3ebccc4daa46c20a93f4709862376da1fdd (diff)
downloadrust-bc17bcdef005f427c74a39161dcfd1cd5d3b1a3c.tar.gz
rust-bc17bcdef005f427c74a39161dcfd1cd5d3b1a3c.zip
Simplify `{f16, f32, f54, f128}::midpoint()`
`(float_ty::MAX / 2) - (float_ty::MIN_POSITIVE * 2)` equals
`(float_ty::MAX / 2) + (float_ty::MIN_POSITIVE * 2)` equals
`(float_ty::MAX / 2)`. So these branches are pointless
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions