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 / quantity / qty_negative_const.om

8 lines · 72 bytes Raw Blame History
1const Q qty -1.0
2fn main to int
3a = qty 0
4if lt Q a
5ret 0
6end
7ret 1
8end