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.oir

13 lines · 242 bytes Raw Blame History
1omegair 1
2export @f0 flags 0 -> i32
3block ^0
4%1 = const f64 0x4000000000000000
5%2 = fsqrt f64 %1
6%3 = const f64 0x408f400000000000
7%4 = mul f64 %2 %3
8%5 = conv i64 0 %4
9%6 = const i64 1000
10%7 = sub i64 %5 %6
11%8 = conv i32 0 %7
12retv %0 %8
13end