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 / tests / one_layer / exp445 / dev / tasks / cases / dev05 / prompt

3 lines · 232 bytes Raw Blame History
1Write a function checked_mul that takes two signed 16-bit numbers a and b and returns a * b as a
2signed 16-bit number. If the product does not fit in a signed 16-bit number (-32768..32767), it must
3stop with trap kind 1 (overflow).