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 / task19 / reference.c

5 lines · 139 bytes Raw Blame History
1uint32_t hamming_dist_u32(uint32_t a, uint32_t b) {
2 uint32_t d = a ^ b, c = 0;
3 while (d) { c += d & 1u; d >>= 1; }
4 return c;
5}