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
omega-mv / seed / ng / tests / ir / x-minnan.om
| 1 | om2 |
| 2 | note Both NaN inputs to arithmetic min must produce a quiet NaN; payload is unspecified. |
| 3 | fn main to int |
| 4 | a = bitcast f32 uint 0x7f800001 |
| 5 | b = bitcast f32 uint 0xff800002 |
| 6 | v = bitcast uint fmin a b |
| 7 | if ne and v 0x00400000 uint 0x00400000 |
| 8 | trap 14 |
| 9 | end |
| 10 | ret 0 |
| 11 | end |