|
From: David S. <d.s...@go...> - 2025-11-15 14:01:49
|
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 |