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