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 / dev02 / hidden / reference.osc
| 1 | fn absdiff(a: i32, b: i32) -> i64 { |
| 2 | let d: i64 = (a as i64) - (b as i64); |
| 3 | if d < 0 { return -d; } |
| 4 | return d; |
| 5 | } |