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/ng/tests/opt/x-remmin.oir # 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 / ng / tests / opt / x-remmin.oir` 22 lines ยท 417 bytes Raw Blame History 1 omegair 1 2 fn @f0 flags 0 %1:i64 %2:i64 -> i64 3 block ^0 4 %3 = chk.divz 2 %0 %2 5 %4 = rem i64 %1 %2 6 retv %3 %4 7 end 8 export @f1 flags 0 -> i32 9 block ^0 10 %1 = const i64 -`9223372036854775807` 11 %2 = const i64 1 12 %3 = chk.sub 1 %0 %1 %2 13 %4 = sub i64 %1 %2 14 %5 = const i64 -1 15 %6 %7 = call i64 %3 @f0 %4 %5 16 %8 = const i64 5 17 %9 = chk.add 1 %6 %7 %8 18 %10 = add i64 %7 %8 19 %11 = chk.conv i32 5 %9 %10 20 %12 = conv i32 0 %10 21 retv %11 %12 22 end