Referred-to ticket #706562 is presumably https://sourceforge.net/p/maxima/bugs/264/ (due to system-wide renumbering several years ago). #264 is reported to be fixed so maybe this bug just needs to be retested.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=581700
On both SBCL and CLISP I get the expected result
(C4) rat(a^2);
(D4)/R/ a
I'd guess this is the same GCL specific misfeature as #706562
(mod(-2,4) => -2 not 2).
Logged In: YES
user_id=501686
Observed w/ 5.9.3cvs / gcl 2.6.7, but not 5.9.3cvs / sbcl
0.9.9 or clisp 2.38.
Referred-to ticket #706562 is presumably https://sourceforge.net/p/maxima/bugs/264/ (due to system-wide renumbering several years ago). #264 is reported to be fixed so maybe this bug just needs to be retested.
Retested w/ not-too-old Maxima + GCL and bug is still present.