[Ecls-list] log and overflow
Gabriel Dos Reis
gdr at cs.tamu.edu
Sat Jan 17 01:10:35 UTC 2009
Hi,
The log function in the form
(let ((a (expt 234 108)))
(and (< a most-positive-double-float)
(log a 10)))
signals a floating-point-overflow -- although the answer is less than 256.
GCL and SBCL evaluates the form with no fuss. This is with ECL-8.12.0
-- I cannot build ECL CVS. I'm not sure the hyperspec specifies
exceptional situations for log.
The above was extracted from failing testcases on ECL-based OpenAxiom.
-- Gaby
More information about the ecl-devel
mailing list