Non-decimal radices/Convert: Difference between revisions
m
simplify J implementation
(add m4) |
m (simplify J implementation) |
||
Line 577:
Programs for conversion of numeric values to literals, and of literals to numbers:
numerals=: '0123456789abcdefghijklmnopqrstuvwxyz'
baseNtoL=: numerals {~
baseLtoN=:
Examples of use:
2 baseNtoL 100 101
|