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

11 lines · 259 bytes Raw Blame History
1om2
2note Both NaN inputs to arithmetic min must produce a quiet NaN; payload is unspecified.
3fn main to int
4a = bitcast f32 uint 0x7f800001
5b = bitcast f32 uint 0xff800002
6v = bitcast uint fmin a b
7if ne and v 0x00400000 uint 0x00400000
8trap 14
9end
10ret 0
11end