interplane.Get Omega
Read in your language

omega-mcp

aien-dev/omega-mcp

Brought by drakestapleton

branch main Branches Tags History

omega-mcp / data / examples / om2_rotate.om

8 lines · 158 bytes Raw Blame History
1om2
2note rotr and rotl rotate an unsigned value; amounts outside 0..width-1 trap 7
3fn main to int
4x = uint 0x80000001
5y = rotr x 1
6z = rotl y 2
7ret int z
8end