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.rs

6 lines · 139 bytes Raw Blame History
1fn factorial_u32(n: u32) -> u32 {
2 if n >= 34 { return 0; }
3 let mut r = 1u32;
4 for i in 2..=n { r = r.wrapping_mul(i); }
5 r
6}