Restricting SHR and SHL to be maximally shifted by a U8 #4841
Labels
aztec.nr
Helpful for development of Aztec.nr the smart contract framework
enhancement
New feature or request
Shifts are implemented for non-field values, i.e. numbers within the range [0, 2^128-1]. Shifting any of these number by greater than 128 bits trivially results in 0. We should be able to restrict the amount of bits a number can be shifted by to be within the range of U8.
The text was updated successfully, but these errors were encountered: