I looked at the documentation and even peeked at the C source, and I can’t see why they limited the accepted radixes to 2..36. Anybody know?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As others have pointed out, radix < 2 is troublesome to render. and there’s no conventional agreement on what characters to use for radixes larger than [‘0’..’9′] + [‘a’..’z’], which is why the standard method doesn’t support radix outside those limits.
If you really want a custom radix representation, you would need to define the alphabet of symbols to use for the digits. Here’s a little module that will give you the capability.
example use: