van Nek
2006-06-18 18:54:20 UTC
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
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