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 / qty_div_unsigned.om
| 1 | fn main to int |
| 2 | a = qty 18446744073709551615 |
| 3 | b = qty 2 |
| 4 | c = div a b |
| 5 | z = qty 9223372036854775807 |
| 6 | if eq c z |
| 7 | ret 0 |
| 8 | end |
| 9 | ret 1 |
| 10 | end |