You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> (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.
The text was updated successfully, but these errors were encountered:
I don't think any of the standards require
number->string
to work in base 36, but this is clearly a bug.The text was updated successfully, but these errors were encountered: