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 / reference.c
| 1 | uint32_t bitrev_u16(uint32_t x) { |
| 2 | uint32_t r = 0; |
| 3 | for (int i = 0; i < 16; i++) { r = (r << 1) | (x & 1u); x >>= 1; } |
| 4 | return r; |
| 5 | } |