File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -572,10 +572,12 @@ pub mod reimpls {
572
572
}
573
573
if exponent < ( <$fromty as FloatStuff >:: MANTISSA_BITS ) as i32 {
574
574
( 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 )
576
577
} else {
577
578
( 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 )
579
581
}
580
582
} }
581
583
}
@@ -605,10 +607,12 @@ pub mod reimpls {
605
607
}
606
608
let r = if exponent < ( <$fromty as FloatStuff >:: MANTISSA_BITS ) as i32 {
607
609
( 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 )
609
612
} else {
610
613
( 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 )
612
616
} ;
613
617
if sign >= 0.0 { r } else { r. unchecked_neg( ) }
614
618
} }
You can’t perform that action at this time.
0 commit comments