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 / task08 / reference.c
| 1 | uint32_t fibonacci_u32(uint32_t n) { |
| 2 | uint32_t a = 0, b = 1; |
| 3 | for (uint32_t i = 0; i < n; i++) { uint32_t c = a + b; a = b; b = c; } |
| 4 | return a; |
| 5 | } |