Skip to content

Commit ca73aff

Browse files
committed
Tidy
1 parent 53ff50a commit ca73aff

File tree

1 file changed

+8
-4
lines changed
  • src/libcompiler_builtins

1 file changed

+8
-4
lines changed

src/libcompiler_builtins/lib.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,12 @@ pub mod reimpls {
572572
}
573573
if exponent < (<$fromty as FloatStuff>::MANTISSA_BITS) as i32 {
574574
(mantissa as $outty)
575-
.wrapping_shr((<$fromty as FloatStuff>::MANTISSA_BITS as i32).wrapping_sub(exponent) as u32)
575+
.wrapping_shr((<$fromty as FloatStuff>::MANTISSA_BITS as i32)
576+
.wrapping_sub(exponent) as u32)
576577
} else {
577578
(mantissa as $outty)
578-
.wrapping_shl(exponent.wrapping_sub(<$fromty as FloatStuff>::MANTISSA_BITS as i32) as u32)
579+
.wrapping_shl(exponent.wrapping_sub(
580+
<$fromty as FloatStuff>::MANTISSA_BITS as i32) as u32)
579581
}
580582
} }
581583
}
@@ -605,10 +607,12 @@ pub mod reimpls {
605607
}
606608
let r = if exponent < (<$fromty as FloatStuff>::MANTISSA_BITS) as i32 {
607609
(mantissa as $outty)
608-
.wrapping_shr((<$fromty as FloatStuff>::MANTISSA_BITS as i32).wrapping_sub(exponent) as u32)
610+
.wrapping_shr((<$fromty as FloatStuff>::MANTISSA_BITS as i32)
611+
.wrapping_sub(exponent) as u32)
609612
} else {
610613
(mantissa as $outty)
611-
.wrapping_shl(exponent.wrapping_sub(<$fromty as FloatStuff>::MANTISSA_BITS as i32) as u32)
614+
.wrapping_shl(exponent.wrapping_sub(
615+
<$fromty as FloatStuff>::MANTISSA_BITS as i32) as u32)
612616
};
613617
if sign >= 0.0 { r } else { r.unchecked_neg() }
614618
}}

0 commit comments

Comments
 (0)