The correct answer is 13936666434531148641,
and 13936666434531148641+4510077639178402975=2^64

So looks like a sign error.

- Qian

On 10/16/24 12:30 PM, Qian Yun wrote:
On Windows, build fricas with CCL (Clozure CL) and gmp support,
the build is successfully, but when running tests, there are a
few places (for example first test in bugs2018.input) where
FRICASsys enters into infinite loop and I can observe memory
is leaking. (to 10GB.)

This does not happen if I disable GMP support.

Luckily this problem is easy to reproduce, and backtrace
easily points to this minimal reproducible example:

(1) -> gcd(4068020004323239869867049777123762790865, 238106358327114453439438371357)


    (1)  - 4510077639178402975

- Qian


--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/07526998-ddbe-4a1d-bd5e-e4c9aee748e1%40gmail.com.

Reply via email to