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_sqrt.om

8 lines · 67 bytes Raw Blame History
1fn main to int
2a = qty 1
3b = fsqrt a
4if eq a b
5ret 0
6end
7ret 1
8end