rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

ibase and hexadecimal #391

Closed rtoy closed 3 months ago

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-02 19:10:29 Created by *anonymous on 2009-08-06 16:10:12 Original: https://sourceforge.net/p/maxima/bugs/1722


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?

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-02 19:10:30 Created by robert_dodier on 2009-08-06 21:11:24 Original: https://sourceforge.net/p/maxima/bugs/1722/#983f


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.

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-02 19:10:32 Created by robert_dodier on 2009-08-11 16:06:46 Original: https://sourceforge.net/p/maxima/bugs/1722/#7c64


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

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-02 19:10:34 Created by robert_dodier on 2009-08-11 16:06:46 Original: https://sourceforge.net/p/maxima/bugs/1722/#aef0