[Maxima] maxima: base conversion
robert.dodier at gmail.com
Tue Oct 28 16:13:33 CDT 2008
> On Tue, Oct 28, 2008 at 4:18 PM, Alexander Hausner <alex at hugo.bmg.gv.at> wrote:
>> I've been searching for a way to convert big numbers into different base
>> systems with maxima, but I have not found any way out of the box.
Well, there are the ibase and obase global variables which control
the base for input and output, respectively.
For input, Maxima doesn't recognize numbers in bases greater than 10.
I guess the intent is to prevent the reinterpretation of stuff like 1e0 as
something different. Be that as it may, there is a simple patch to get
input base > 10 to work. I forget what it is, but searching the mailing
list archives for ibase or maybe DIGIT-CHAR-P should find it.
More information about the Maxima