[Maxima] overflow and underflow function returns
willisb at unk.edu
Mon Mar 26 06:13:06 CDT 2012
-----maxima-bounces at math.utexas.edu wrote: -----
>When designing possible overflow detection
>prior to calling quadpack in a wrapper package,
>I have the problem that bessel functions don't
>have the same overflow return as core math
>functions like exp.
What happens with floating point overflow depends on the version of CL used to compile Maxima.
Example: with Clozure CL
Maxima encountered a Lisp error: FLOATING-POINT-OVERFLOW detected
Every Lisp error reported by Maxima is at least a venial bug (I think). Likely, making floating
point overflow work the same with all CLs would require a great deal work:
Welcome to Clozure Common Lisp Version 1.7-r14925M (WindowsX8664)!
? (ignore-errors (exp 800.0))
But GCL gives
(%i52) :lisp(exp 800.0)
More information about the Maxima