tidy line length split
This commit is contained in:
parent
0efb8e4d73
commit
c5586ebe26
1 changed files with 2 additions and 1 deletions
|
|
@ -133,7 +133,8 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
|
|||
// For signed addition the saturated value depends on the
|
||||
// sign of either term
|
||||
if first_term & (1 << (num_bits-1)) == 0 { // signed term is positive
|
||||
Scalar::from_uint((1u128 << (num_bits - 1)) - 1, Size::from_bits(num_bits))
|
||||
Scalar::from_uint((1u128 << (num_bits - 1)) - 1,
|
||||
Size::from_bits(num_bits))
|
||||
} else { // signed term is negative
|
||||
Scalar::from_uint(1u128 << (num_bits - 1), Size::from_bits(num_bits))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue