omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
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 |