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

6 lines · 146 bytes Raw Blame History
1uint32_t factorial_u32(uint32_t n) {
2 if (n >= 34) return 0;
3 uint32_t r = 1;
4 for (uint32_t i = 2; i <= n; i++) r *= i;
5 return r;
6}