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 / task07 / statement.txt
| 1 | Write a function bitrev_u16(x). The argument x is an unsigned 32-bit integer (u32) with x <= 65535 and the result is a u32. Return the 16-bit value of x with its low 16 bits reversed: bit 0 swaps with bit 15, bit 1 with bit 14, and so on. |