Format ~$ buglet

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


In 1.3.2,

  > (format nil "~$" -32.17)
  --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: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20160424/d552af39/attachment.html>


More information about the armedbear-devel mailing list