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 / tests / one_layer / omegese / nested / dev05.omegese

7 lines · 120 bytes Raw Blame History
1fn checked_mul a short b short to short
2p = mul int a int b
3if or (lt p -32768) (gt p 32767)
4trap 1
5end
6ret short p
7end