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 / roundtrip.om
| 1 | fn main to int |
| 2 | a = qty 18446744073709551615 |
| 3 | b = ulong a |
| 4 | c = qty b |
| 5 | if ne b ulong 18446744073709551615 |
| 6 | ret 1 |
| 7 | end |
| 8 | if ne c a |
| 9 | ret 2 |
| 10 | end |
| 11 | ret 0 |
| 12 | end |