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 / bench / inference_cost / tasks / task02 / reference.om
| 1 | fn absdiff_i32 a int b int to ulong |
| 2 | la = long a |
| 3 | lb = long b |
| 4 | d = sub la lb |
| 5 | if lt d 0 |
| 6 | ret ulong neg d |
| 7 | end |
| 8 | ret ulong d |
| 9 | end |