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 / bench / inference_cost / tasks / task02 / reference.om

9 lines · 120 bytes Raw Blame History
1fn absdiff_i32 a int b int to ulong
2la = long a
3lb = long b
4d = sub la lb
5if lt d 0
6ret ulong neg d
7end
8ret ulong d
9end