-
Notifications
You must be signed in to change notification settings - Fork 1
rotate
Subhajit Sahu edited this page Jan 23, 2021
·
4 revisions
rotate x n
-- x: an Int
-- n: rotate amount (+ve: left, -ve: right)
import Bit exposing (..)
rotate 0x11112222 4
-- 286401057 (0x11122221)
rotate 0x11112222 -4
-- 554766882 (0x21111222)