X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcold%2Fansify.lisp;h=25b957c2bf888cc78412e73df0232534f501b638;hb=dca55270cf662763243dfc8ee207370473da2a6f;hp=006a0df5a00f65f9e759af64351b6acc74cf74ac;hpb=d543ff4caaabda2f33ce7b5a723013db06aa5c9d;p=sbcl.git diff --git a/src/cold/ansify.lisp b/src/cold/ansify.lisp index 006a0df..25b957c 100644 --- a/src/cold/ansify.lisp +++ b/src/cold/ansify.lisp @@ -12,6 +12,28 @@ ;;;; CLISP issues +;;; as explained on #lisp ca. October 2003: +;;; chandler: nope, I'm blaming another clisp bug +;;; [8]> least-positive-short-float +;;; 2.93874s-39 +;;; [9]> (coerce * 'single-float) +;;; 0.0 +;;; aah +;;; "oops" +;;; yep +;;; tried that on clisp from fink: +;;; [1]> least-positive-short-float +;;; 2.93874s-39 +;;; [2]> (coerce * 'single-float) +;;; *** - floating point underflow +;;; yeah +;;; shall i not try to build sbcl with that? +;;; if you turn off underflow traps, then you get 0.0 +;;; well, that makes sense, i guess +;;; #+clisp +;;; (ext:without-package-lock ("SYSTEM") +;;; (setf system::*inhibit-floating-point-underflow* t)) +;;; (in src/cold/ansify.lisp) #+clisp (ext:without-package-lock ("SYSTEM") (setf system::*inhibit-floating-point-underflow* t)) @@ -46,6 +68,12 @@ (warn "CMU CL has a broken implementation of READ-SEQUENCE.") (pushnew :no-ansi-read-sequence *features*)) +;;; This is apparently quite old, according to +;;; : +;;; (error "CMUCL on Alpha can't read floats in the format \"1.0l0\". +;;; the warning relates to a random vinary produced from cvs of +;;; around feb 2000, the corresponding sources to which I never found +;;; (But it seems harmless to leave it here forever just in case.) #+(and cmu alpha) (unless (ignore-errors (read-from-string "1.0l0")) (error "CMUCL on Alpha can't read floats in the format \"1.0l0\". Patch your core file~%~%")) @@ -54,10 +82,11 @@ (ext:set-floating-point-modes :traps '(:overflow :invalid :divide-by-zero)) ;;;; OpenMCL issues + +;;; This issue in OpenMCL led to some SBCL bug reports ca. late 2003. #+openmcl (unless (ignore-errors (funcall (constantly t) 1 2 3)) (error "please find a binary that understands CONSTANTLY to build from")) - ;;;; general non-ANSI-ness