6E looks like a floating point number. Like 6.0e1 is 60.0.
It is probably unintended. I think the way to fix it is to simply
forbid ibase to be set to more than decimal 10.
_____
From: maxima-admin at math.utexas.edu [mailto:maxima-admin at math.utexas.edu] On
Behalf Of van Nek
Sent: Sunday, June 18, 2006 11:54 AM
To: Maxima at math.utexas.edu
Subject: ibase and obase
Hello,
is this a bug or intended?
(%i1) [ibase:10,obase:16]$
(%i2) 100;
(%o2) 64
(%i3) 111;
(%o3) 6F
(%i4) [ibase:16,obase:10]$
(%i5) 64;
(%o5) 100
(%i6) 6F;Incorrect syntax: F is not an infix operator
6F;
^
(%i6) 6E;
Incomplete number. Missing exponent?
-- an error. Quitting. To debug this try debugmode(true);
Documentation:
When ibase is greater than 10, the numerals comprise the decimal numerals 0
through 9 plus capital letters of the alphabet A, B, C, ..., as needed.
This tells me that 6F and 6E should work, or do I misunderstand the
documentation?
Volker