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 / clamp_sub / program.omegese

6 lines · 71 bytes Raw Blame History
1fn clamp_sub a uint b uint to uint
2if ge a b
3ret sub a b
4end
5ret 0
6end