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 / task03 / reference.c
| 1 | uint32_t popcount_u32(uint32_t x) { |
| 2 | uint32_t c = 0; |
| 3 | while (x) { c += x & 1u; x >>= 1; } |
| 4 | return c; |
| 5 | } |