Buglet: format "~$" on negative numbers prints two "-" signs

Scott L. Burson Scott at sympoiesis.com
Tue May 29 05:57:02 UTC 2018


ABCL> (format nil "~$" -2.34)
--2.34

I've fixed this locally by modifying 'format-dollars' to call 'abs' on the
first argument to 'sys::flonum-to-string'.

-- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20180528/87cc8f6c/attachment.html>


More information about the armedbear-devel mailing list