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 / dev05 / prompt
| 1 | Write a function checked_mul that takes two signed 16-bit numbers a and b and returns a * b as a |
| 2 | signed 16-bit number. If the product does not fit in a signed 16-bit number (-32768..32767), it must |
| 3 | stop with trap kind 1 (overflow). |