Remove undefined behavior from a left shift of a negative value.
Fixed by shifting a positive value, then negating the result. (Credit: Richard Trieu)
Loading
Please register or sign in to comment
Fixed by shifting a positive value, then negating the result. (Credit: Richard Trieu)