File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -488,10 +488,10 @@ public struct DoubleWidth<Base : FixedWidthInteger> :
488
488
489
489
lhs. _storage. high <<= High ( rhs. _storage. low)
490
490
491
- let t = Base . bitWidth > rhs. _storage. low
491
+ let lowInHigh = Base . bitWidth > rhs. _storage. low
492
492
? lhs. _storage. low >> ( numericCast ( Base . bitWidth) - rhs. _storage. low)
493
493
: lhs. _storage. low << ( rhs. _storage. low - numericCast( Base . bitWidth) )
494
- lhs. _storage. high |= High ( extendingOrTruncating: t )
494
+ lhs. _storage. high |= High ( extendingOrTruncating: lowInHigh )
495
495
496
496
lhs. _storage. low <<= rhs. _storage. low
497
497
}
@@ -502,10 +502,10 @@ public struct DoubleWidth<Base : FixedWidthInteger> :
502
502
503
503
lhs. _storage. low >>= rhs. _storage. low
504
504
505
- let t = Base . bitWidth > rhs. _storage. low
505
+ let highInLow = Base . bitWidth > rhs. _storage. low
506
506
? lhs. _storage. high << ( numericCast ( Base . bitWidth) - rhs. _storage. low)
507
507
: lhs. _storage. high >> ( rhs. _storage. low - numericCast( Base . bitWidth) )
508
- lhs. _storage. low |= Low ( extendingOrTruncating: t )
508
+ lhs. _storage. low |= Low ( extendingOrTruncating: highInLow )
509
509
510
510
lhs. _storage. high >>= High ( extendingOrTruncating: rhs. _storage. low)
511
511
}
You can’t perform that action at this time.
0 commit comments