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 / halve.om

7 lines · 231 bytes Raw Blame History
1note halve: h[i] = binary16 bits of half the f16 value h[i] (exponent minus 1; normal inputs above 2^-13),
2note an edit ushort array written in place.
3fn halve h edit ushort 3 to void
4for i ulong 3
5put h i sub get h i 1024
6end
7end