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 / tools / exp445 / arms / examples / count_digits / prompt

2 lines · 176 bytes Raw Blame History
1Write a function count_digits that takes an unsigned 64-bit number n and returns the number of its
2decimal digits as an unsigned 8-bit number. 0 has one digit. It never traps.