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/cflow/pl-frneg8.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 / cflow / pl-frneg8.om` 14 lines ยท 397 bytes Raw Blame History 1 note for test at the latch on a byte counter (type 6, the smallest signed type) that the body makes negative 2 note (B.LT, not B.LO): the first pass sets i to -5, so i = 0, -4 .. 2 runs 8 passes (exit 8); an unsigned 3 note latch test leaves after 1 pass. frneg pins the same choice for long (type 9). 4 om2 5 fn main to int 6 n = long 0 7 for i byte 3 8 if eq n 0 9 i = sub i 5 10 end 11 n = add n 1 12 end 13 ret int n 14 end