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