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 / float_add_fixed.om

9 lines · 83 bytes Raw Blame History
1fn main to int
2a = qty 0
3b = add a 1.0
4one = qty 1
5if eq b one
6ret 0
7end
8ret 1
9end