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/sites/found-rdval-15.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 / sites / found-rdval-15.om` 19 lines ยท 397 bytes Raw Blame History 1 note sites: found by a one-token change of a tracked program; reaches the omc error site in rdval (code 11) 2 note float parameters and return values use the same register convention as integers internally. 3 fn addf x f64 y f64 to f64 4 ret add x y 5 end 6 fn half x f64 to f64 7 ret div x 2.0 8 end 9 fn main to int 10 r = eq 1.5 2.5 11 if ne int r 4 12 ret 1 13 end 14 q = half 5.0 15 if ne int mul q 4.0 10 16 ret 2 17 end 18 ret 0 19 end