|
From: Richard F. <fa...@gm...> - 2025-11-15 17:18:42
|
for example, :lisp (cquotient 2 3) produces the same message. Evaluating this in the top-level context may be why the tag RAT-ERR does not exist. RJF On Sat, Nov 15, 2025 at 6:02 AM David Scherfgen via Maxima-discuss < max...@li...> wrote: > Michel Talon <ta...@lp...>: > >> I think there is definitely a bug here: tracing the function cquotient >> shows there are a lot of calls to cquotient which work OK and then a last >> one which bombs out. This can be reproduced in a fresh maxima session: >> >> (%i1) :lisp(MAXIMA::CQUOTIENT 188021706981212160 -32188114592695296) >> Maxima encountered a Lisp error: >> attempt to THROW to a tag that does not exist: RAT-ERR >> > I have difficulty in understanding how this is not a bug in maxima or how >> this bug is related to algebraic dependencies. Maybe the numbers are too >> big for some reason. >> > This is by design. > The comment above cquotient says: > > ;; If MODULUS is nil, then we work over the ring of integers when A and B > are > ;; integers, and raise a RAT-ERROR if A is not divisible by B. > > Best regards > David > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > |