user-stream bugfix
authorD Herring <dherring@at.tentpost.dot.com>
Fri, 11 Nov 2011 04:19:59 +0000 (23:19 -0500)
committerD Herring <dherring@at.tentpost.dot.com>
Fri, 11 Nov 2011 04:19:59 +0000 (23:19 -0500)
commitc4727b06d2511b4e3e42d73d72ccf2d1a8931a19
treece50ba0558d99fcca9377828526c68ee37998608
parenta78192c050c2012dc027614fc2ec7390952e6507
user-stream bugfix

Under SBCL, floating-point numbers were printing incorrectly.
e.g. (format t "~A" 12.34) was printing 12.1234!
The equivalent string literals were ok.

Investigation found that SBCL prints floats as
  (write-string "1234" 0 3)
  (write-char #\.)
  (write-string "1234" 3 nil)
This last call was incorrectly handled by the IF.
I assume it was meant as an optimization...
main.lisp