fixed-format floating point printing: zero and scaling factors
authorNikodemus Siivola <nikodemus@sb-studio.net>
Fri, 29 Jul 2011 11:41:00 +0000 (14:41 +0300)
committerNikodemus Siivola <nikodemus@sb-studio.net>
Fri, 29 Jul 2011 13:50:36 +0000 (16:50 +0300)
commit8f1d4a2508e8d81564822a1668fe30a490b9c3f6
treea542be81dba918d71dad3ed792e3a23d5c272993
parent181bb09b1d9de68bbce82ff7692c139a0c2d9e78
fixed-format floating point printing: zero and scaling factors

  Now that FLONUM-TO-DIGITS handles zero, we need to check against
  zero before adding in the scaling factor.

  Also make sure not to print extra digits when E is negative.

  Adjust FORMAT-AUX-EXP to not print the extra-zero: FLONUM-TO-STRING
  provides it now.

  Fixes lp#811386.
NEWS
src/code/print.lisp
src/code/target-format.lisp
tests/print.impure.lisp