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 / bridge / omega-bridge / tests / native / madd.om
| 1 | note (a * b + c) modulo 2^64: ulong mul and add wrap by definition |
| 2 | fn madd a ulong b ulong c ulong to ulong |
| 3 | p = mul a b |
| 4 | ret add p c |
| 5 | end |