12.15.9 Accuracy and correctness of floating-point format directives

There are various fixes to the floating-point format directives ~F , ~E , ~G and ~$ .

~E and ~G now print the number as accurately as ~F .

Exponential notation prints the correct number of digits before the decimal point for all exact powers of 10 and when rounding from 9 to 10 causes the number of digits to change.

~E prints the exponent in decimal regardless of * print-base* .

~F , ~E , ~G and ~S print negative zero with a leading minus sign.

LispWorks Release Notes and Installation Guide - 18 Mar 2008