interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / bench / inference_cost / tasks / task04 / reference.rs

5 lines · 127 bytes Raw Blame History
1fn gcd_u32(a: u32, b: u32) -> u32 {
2 let (mut x, mut y) = (a, b);
3 while y != 0 { let t = x % y; x = y; y = t; }
4 x
5}