diff --git a/code/print.lisp b/code/print.lisp index c3da19b73ceef58fba45e3b6d23a741492772c0e..8705cc5e7d87c5705cb3bac768468e5b10b9ad4a 100644 --- a/code/print.lisp +++ b/code/print.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.35 1992/02/11 16:56:30 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.36 1992/02/12 16:11:24 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1356,7 +1356,8 @@ (integer-decode-float x) (let* ((precision (float-precision x)) (digits (float-digits x)) - (fudge (- digits precision))) + (fudge (- digits precision)) + (width (if width (max width 1) nil))) (float-string (ash sig (- fudge)) (+ exp fudge) precision width fdigits scale fmin))))))