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 / task04 / reference.om

10 lines · 96 bytes Raw Blame History
1fn gcd_u32 a uint b uint to uint
2x = a
3y = b
4while gt y 0
5t = rem x y
6x = y
7y = t
8end
9ret x
10end