Format ~$ buglet

Scott L. Burson Scott at
Sun Apr 24 22:50:28 UTC 2016

In 1.3.2,

  > (format nil "~$" -32.17)

Negative values are getting a double minus sign.

The right fix seems to be, in 'format-dollars', to pass '(abs number)'
rather than 'number' to 'sys::flonum-to-string'.

-- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the armedbear-devel mailing list