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/task06/reference.rs # 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 / task06 / reference.rs` 6 lines ยท 170 bytes Raw Blame History 1 fn collatz_steps_u32(n: u32) -> u32 { 2 let mut c = n as u64; 3 let mut s = 0u32; 4 while c > 1 { c = if c & 1 == 1 { 3 * c + 1 } else { c / 2 }; s += 1; } 5 s 6 }