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 / task01 / statement.txt
| 1 | Write a function clamp_add_u16(a, b). The arguments a and b are unsigned 32-bit integers (u32) and the result is a u32. Return a + b saturated at 65535: if a + b > 65535 return 65535, otherwise return a + b. In every tested input a + b fits in 32 bits. |