From: SourceForge.net <no...@so...> - 2006-08-03 23:18:11
|
Bugs item #1534214, was opened at 2006-08-03 16:18 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1534214&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: clisp Group: lisp error Status: Open Resolution: None Priority: 5 Submitted By: drb (al_hallaj0) Assigned to: Bruno Haible (haible) Summary: Unexpected Floating Point Error Initial Comment: The mathematical expression below generates a floating point overflow error. (* 2.5d0 (EXP (* 251.1 (EXP (- 1.089 (* 1.12 (LOG 80.9647d0 10)))))) (EXP (/ (- 183.9) 199.705d0))) However the following one does not. (* (EXP (* 251.1 (EXP (- 1.089 (* 1.12 (LOG 80.9647d0 10)))))) (EXP (/ (- 183.9) 199.705d0)) 2.5d0) The only difference is that the 2.5 has been shifted from the front of the list to the end of it. The bug shows up on at least two recent versions of CLISP. CLISP version information: GNU CLISP 2.38 (2006-01-24) (built on guru.build.karan.org) Software: GNU C 3.4.4 20050721 (Red Hat 3.4.4-2) GNU CLISP 2.39 (2006-07-16) (built on hammer2.fedora.redhat.com) Software: GNU C 4.1.1 20060525 (Red Hat 4.1.1-1) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1534214&group_id=1355 |