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 / tests / one_layer / generalization / corpus / specs / digcount.spec

5 lines · 190 bytes Raw Blame History
1desc number of decimal digits of an unsigned 32-bit value (1 for 0)
2pre true
3post and and ge res 1 le res 10 eq lt n 10 eq res 1
4example 12345 -> 5
5limit base 10 only; 0 counts as one digit