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 / acceptance / sample / cases / s09 / candidate.osc
| 1 | fn spin(x: u64) -> u64 { |
| 2 | let mut s: u64 = x; |
| 3 | for i in 0 .. 1000000 { |
| 4 | for j in 0 .. 1000000 { |
| 5 | s = s + x; |
| 6 | } |
| 7 | } |
| 8 | return s; |
| 9 | } |