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
omega-mv / bench / inference_cost / tasks / task04 / reference.rs
| 1 | fn 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 | } |