From 5cebab87820d394fdc67b4097091cb4abec785c9 Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Fri, 27 Aug 2004 11:31:54 +0000 Subject: [PATCH] FORMAT-FIXED-AUX was not printing the sign of negative zeroes (because it was checking with minusp). --- code/format.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/format.lisp b/code/format.lisp index 190d18344..dea70e4af 100644 --- a/code/format.lisp +++ b/code/format.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/format.lisp,v 1.52 2004/08/27 03:20:10 rtoy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/format.lisp,v 1.53 2004/08/27 11:31:54 rtoy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1091,7 +1091,7 @@ t) (t (when w (dotimes (i spaceleft) (write-char pad stream))) - (if (minusp number) + (if (minusp (float-sign number)) (write-char #\- stream) (if atsign (write-char #\+ stream))) (when lpoint (write-char #\0 stream)) -- GitLab