(t commaed))))
;; colinc = 1, minpad = 0, padleft = t
(format-write-field stream signed mincol 1 0 padchar t))
- (princ number))))
+ (princ number stream))))
(defun format-add-commas (string commachar commainterval)
(let ((length (length string)))
do
(assert (string= "#*101" (format nil "~S" #*101))))
+;;; bug in sbcl-0.7.1.25, reported by DB sbcl-devel 2002-02-25
+(assert (string= "0.5" (format nil "~2D" 0.5)))
+
;;; success
(quit :unix-status 104)
;;; for internal versions, especially for internal versions off the
;;; main CVS branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.7.1.24"
+"0.7.1.25"