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

Mark Evenson evenson at panix.com
Wed May 30 06:49:01 UTC 2018



> On May 29, 2018, at 07:57, Scott L. Burson <Scott at sympoiesis.com> wrote:
> 
> 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
> 

Patched as <https://abcl.org/trac/changeset/15124>.  

Thanks for the note,
Mark


More information about the armedbear-devel mailing list