Skip to content

Commit

Permalink
wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Oct 26, 2024
1 parent 87bee1f commit db0a6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/hypot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ fn cr_hypot(mut x: f64, mut y: f64) -> f64 {
ey = tld;
ex &= 0x7ff_u64 << 52;
let aidr: u64 = ey + (0x3fe_u64 << 52) - ex;
let mid: u64 = (aidr - 0x3c90000000000000 + 16) >> 5;
let mid: u64 = (aidr.wrapping_sub(0x3c90000000000000) + 16) >> 5;
if __builtin_expect(
mid == 0 || aidr < 0x39b0000000000000_u64 || aidr > 0x3c9fffffffffff80_u64,
false,
Expand Down

0 comments on commit db0a6e2

Please sign in to comment.