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 / tests / one_layer / exp445 / dev / tasks / cases / dev04 / hidden / reference.osc
| 1 | fn gcd(a: u32, b: u32) -> u32 { |
| 2 | let mut x: u32 = a; |
| 3 | let mut y: u32 = b; |
| 4 | while y != 0 bound 100 { |
| 5 | let t: u32 = x % y; |
| 6 | x = y; |
| 7 | y = t; |
| 8 | } |
| 9 | return x; |
| 10 | } |