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-ca-st-ok-1.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-ca-st-ok-1.om` 24 lines ยท 566 bytes Raw Blame History 1 note sites: found by a one-token change of a tracked program; reaches the omc error site in ca-st-ok (code 16) 2 note a struct field may be f64 or f32 (an f32 field still uses an 8-byte cell); a view receives it. 3 struct S a f64 b f32 c f32 2 end 4 fn total s view S to f64 5 ret add get s a f64 get s b 6 end 7 fn main to int 8 x = new S 1.5 2.5 0.5 9 put x c 1 3.5 10 if ne bitcast ulong get x a `4609434218613702656` 11 ret 1 12 end 13 if ne bitcast uint get x b `1075838976` 14 ret 2 15 end 16 if ne bitcast uint get x c 1 `1080033280` 17 ret 3 18 end 19 r = total ulong 20 if ne int mul r 2.0 8 21 ret 4 22 end 23 ret 0 24 end