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 / seed / ng / tests / ir / x-shift.om

9 lines · 161 bytes Raw Blame History
1note x-shift: shift by 31 is fine, by the width 32 traps 7
2fn f a uint b uint to uint
3ret shl a b
4end
5fn main to int
6x = f 1 31
7y = f 1 32
8ret int and y 255
9end