Re: +-Inf and NaN
David Scherfgen via Maxima-discuss <[email protected]> Fri, 21 Feb 2025 20:20:34 +0100
| Newsgroups | gmane.comp.mathematics.maxima.general,gmane.lisp.gcl.devel |
|---|---|
| Message-ID | <CAMTHLKh40foP8TUnWfao6MJ69fC0P1nEkyJa=uWOujffM8tLwg@mail.gmail.com> |
Hi Camm, Camm Maguire <[email protected]>: > If anyone has any extremely minor suggestions in the > next week or so please send them my way. I don't know if this counts as "minor", but as I already posted on the GCL list (without receiving a response), I'd suggest updating the copy of libgmp that comes bundled with the GCL source. It's a very old one. Using an up-to-date version of libgmp fixes an annoying bug where certain bigfloat errors cannot be caught in Lisp or Maxima (they always terminate the process). A particular example: In GCL: (expt 2 (expt 2 62)) In Maxima: 2^2^62; (Note: with the exponent 63 it works, libgmp's overflow check is bugged) This just terminates the program with the error message "gmp: overflow in mpz type", and there's no way to catch the error. In a more recent version of libgmp, this bug has been fixed. There are also some speedups in the more recent versions. Best regards David Scherfgen _______________________________________________ Maxima-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maxima-discuss