awesome-bits icon indicating copy to clipboard operation
awesome-bits copied to clipboard

add restrictions & dependencies

Open keon opened this issue 8 years ago • 0 comments

Shifting by a negative value is undefined behaviour in C. Also you should make sure that the second operand is never higher than or equal to the bit-width of the left-hand type, since that is undefined as well.

keon avatar Dec 21 '16 13:12 keon