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 / bench / inference_cost / tasks / task11 / reference.c

5 lines · 110 bytes Raw Blame History
1uint32_t parity_u32(uint32_t x) {
2 uint32_t p = 0;
3 while (x) { p ^= x & 1u; x >>= 1; }
4 return p;
5}