Menu

#1722 ibase and hexadecimal

closed
nobody
Lisp Core (457)
5
2009-08-11
2009-08-06
Anonymous
No

I have maybe missed something, but I can't write integers in hexadecimal.
I have correctly written:

%i1 ibase:16
%01 16

then

%i2 obase: 10
%02 10

I have checked that obase in hexadecimal works without bugs

%i3 9+2
%o3 B

But ibase doesn't work

%i4 9B9+3
%04 Incorrect syntax: b is not an infix operator

Is a special character needed for inputs in hexadecimal?

Discussion

  • Robert Dodier

    Robert Dodier - 2009-08-06

    Input for alphabetic characters as digits for ibase > 10 was broken until pretty recently, now (Maxima 5.18 or later) it works.

    At the command prompt, enter
    ? ibase
    ? obase
    to get more info.

    Not a bug; we can leave this open for a few days and then close it.

     
  • Robert Dodier

    Robert Dodier - 2009-08-11

    Not a bug. Closing this report as "works for me".

     
  • Robert Dodier

    Robert Dodier - 2009-08-11
    • status: open --> closed
    • labels: --> Lisp Core
     

Log in to post a comment.