jckarter/clay — Issue #42: Add overflow checks for bitshl
Author: jckarter
Created: 2011-12-11 17:00:00+00:00
State: open
Labels: v0.1

I was thinking overflow was expected behavior for left shift, but the people have spoken, and they want left shift to be checked. Add overflow checks to `bitshl` when enabled, and add a `wrapBitshl` function which gives unchecked two's-complement overflow behavior.