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 / statement.txt

1 lines · 253 bytes Raw Blame History
1Write a function factorial_u32(n). The argument n is an unsigned 32-bit integer (u32) and the result is a u32. Return n! (n factorial) modulo 2^32, where factorial_u32(0) = 1, factorial_u32(1) = 1 and factorial_u32(4) = 24. For n >= 34 the result is 0.