interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / tools / exp445 / arms / examples / cube_xor_pair / program.omegese

11 lines · 166 bytes Raw Blame History
1fn cube_xor_pair n uchar to ushort
2t = new ushort 16 0
3for i uint 16
4v = ushort i
5put t i mul mul v v v
6end
7j = uint n
8r = xor get t j get t add j 1
9free t
10ret r
11end