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 / tests / one_layer / generalization / corpus / specs / digcount.spec
| 1 | desc number of decimal digits of an unsigned 32-bit value (1 for 0) |
| 2 | pre true |
| 3 | post and and ge res 1 le res 10 eq lt n 10 eq res 1 |
| 4 | example 12345 -> 5 |
| 5 | limit base 10 only; 0 counts as one digit |