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 / tests / one_layer / omegese / trial2 / dev03.omegese

10 lines · 136 bytes Raw Blame History
1fn popcount x u64 to u8
2count = u8 0
3for i u8 64
4bit = and x (shl u64 1 i)
5if ne bit u64 0
6count = add count u8 1
7end
8end
9ret count
10end