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 / seed / ng / tests / ir / x-float.om

6 lines · 172 bytes Raw Blame History
1note x-float: sqrt 2 x 1000 truncated to an integer, minus 1000 (414; exit status 414 mod 256)
2fn main to int
3r = fsqrt 2.0f64
4x = long mul r 1000.0
5ret int sub x 1000
6end