diff options
| author | Jules Bertholet <julesbertholet@quoi.xyz> | 2025-09-05 02:01:18 -0400 |
|---|---|---|
| committer | Jules Bertholet <julesbertholet@quoi.xyz> | 2025-09-05 02:01:18 -0400 |
| commit | bc17bcdef005f427c74a39161dcfd1cd5d3b1a3c (patch) | |
| tree | 94c5aa6c6a703b0adcd43847897793e0e2cc48dd /compiler/rustc_codegen_llvm/src | |
| parent | 91edc3ebccc4daa46c20a93f4709862376da1fdd (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
