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 / tools / exp445 / arms / examples / sum_range / prompt
| 1 | Write a function sum_range that takes two signed 32-bit numbers lo and hi and returns the sum of all |
| 2 | integers from lo to hi inclusive, as a signed 64-bit number. When lo > hi the sum is 0. lo and hi |
| 3 | are always between -100000 and 100000. It never traps. |