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 / tests / quantity / float_bits_control.om
| 1 | fn main to int |
| 2 | a = qty 0 |
| 3 | b = add a 1.0 |
| 4 | x = f64 1.0 |
| 5 | z = bitcast ulong x |
| 6 | if eq ulong b z |
| 7 | ret 0 |
| 8 | end |
| 9 | ret 1 |
| 10 | end |