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 / n-convtz.oir

13 lines · 237 bytes Raw Blame History
1omegair 1
2export @f0 flags 0 -> i32
3block ^0
4%1 = const f64 0x3ff0000000000000
5%2 = conv f32 1 %1
6%3 = bitcast u32 %2
7%4 = const u32 1065353216
8%5 = eq bool %3 %4
9%6 = const i32 1
10%7 = const i32 0
11%8 = select i32 %5 %7 %6
12retv %0 %8
13end