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