> (number->string (expt 2 48) 36)
Error: string-ref: illegal second argument: 28 is not a valid index into string
> (number->string (expt 2 32) 36)
Error: string-ref: illegal second argument: 35 is not a valid index into string
> (number->string (expt 2 26) 36)
"13ydj4"
I don't think any of the standards require number->string to work in base 36, but this is clearly a bug.
I don't think any of the standards require
number->string
to work in base 36, but this is clearly a bug.