chore: check rotation length in uints
package method Lrot
#1150
Labels
consolidate
strengthen an existing feature
uints
package method Lrot
#1150
Currently the rotation can be more than the full length of the underlying type (i.e. for U64 we can provide rotation which is greater than 64 bits). For clarity and avoiding unnecessary edge cases, we should restrict the rotation length to be strictly less than the width of the underlying type.
Additionally - we currently only have left rotation but could implement right rotation as a wrapper around light rotation.
The text was updated successfully, but these errors were encountered: