Reputation: 88197
In my notes I have something like
If (Guard & !Round & !Sticky)
If (LSB == 1)
LSB += 1
Else If (Guard)
LSB += 1
End If
So I could just simplify it to
If Guard Then
LSB += 1
Upvotes: 0
Views: 780
Reputation: 346300
No. What about this case?
Guard==true
Sticky==false
Round==false
LSB==0
The original code would not execute LSB += 1
in that case, yours would.
Upvotes: 1