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 / generalization / dev / tasks / cases / devgen06 / prompt

4 lines · 341 bytes Raw Blame History
1Write a function pow_small_or_mix that takes unsigned 8-bit numbers b and e and returns an unsigned
264-bit number. If b is less than 10, return b to the power e, computed by multiplying e times (b to the
3power 0 is 1, also for b = 0); for every input checked this value fits in 64 bits. Otherwise return
4(b*b + e*e) * 3 + b. It never traps.