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 / task01 / reference.rs

4 lines · 113 bytes Raw Blame History
1fn clamp_add_u16(a: u32, b: u32) -> u32 {
2 let s = a.wrapping_add(b);
3 if s > 65535 { 65535 } else { s }
4}