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/bench/inference_cost/tasks/task10/reference.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 / bench / inference_cost / tasks / task10 / reference.om` 20 lines ยท 201 bytes Raw Blame History 1 fn is_prime_u32 n uint to uint 2 if lt n 2 3 ret 0 4 end 5 if eq n 2 6 ret 1 7 end 8 if eq (and n 1) 0 9 ret 0 10 end 11 d = ulong 3 12 ln = ulong n 13 while le (mul d d) ln 14 if eq (rem ln d) 0 15 ret 0 16 end 17 d = add d 2 18 end 19 ret 1 20 end