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 / seed / omc / om2 / hex / fnmode-dec.om

16 lines · 328 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Decimal twin of fnmode-hex.om (values from Wolfram, wolfram.txt queries tokens and tokens2).
3om2
4const KM ulong 255
5fn f a ulong to ulong
6b = new uchar 16 0
7put b 15 uchar and a KM
8k = ulong 0
9while lt k 3 bound 10
10k = add k 1
11end
12if eq k 0
13trap 13
14end
15ret add ulong get b 15 k
16end