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

5 lines · 126 bytes Raw Blame History
1uint32_t reverse_digits_u32(uint32_t n) {
2 uint32_t r = 0;
3 while (n) { r = r * 10 + n % 10; n /= 10; }
4 return r;
5}