interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / bridge / omega-bridge / tests / native / madd.om

5 lines · 136 bytes Raw Blame History
1note (a * b + c) modulo 2^64: ulong mul and add wrap by definition
2fn madd a ulong b ulong c ulong to ulong
3p = mul a b
4ret add p c
5end