Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/omc/tests/pools/g5c.om # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / omc / tests / pools / g5c.om` 34 lines ยท 542 bytes Raw Blame History 1 om2 2 note gate-pools 5: a constant index under unroll keeps its run-time check (length 8, copies 0..11). 3 global P ulong * 4 global ob uchar 24 5 fn pnum v ulong to void 6 put ob 23 10 7 i = ulong 23 8 x = v 9 go = true 10 while go bound 21 11 i = sub i 1 12 put ob i uchar add rem x 10 48 13 x = div x 10 14 go = ne x 0 15 end 16 k = write 1 ob i sub 24 i 17 end 18 fn plong v long to void 19 if lt v 0 20 put ob 0 uchar 45 21 k = write 1 ob 0 1 22 pnum ulong neg v 23 else 24 pnum ulong v 25 end 26 end 27 fn main to int 28 r = enlarge P ulong 8 29 for j ulong 12 unroll 30 put P j add j 1 31 pnum get P j 32 end 33 ret 0 34 end