Re: Bug in srfi-48? Donald Allen 11 Oct 2017 20:36 UTC

On 11 October 2017 at 15:45, Arthur A. Gleckler <xxxxxx@speechcode.com> wrote:
> Thank you very much for the bug report.  Would you mind narrowing it down to
> the simplest reproducible case you can?

Maybe this will help:

5> (format "~7,2F" .997554209949891)
*** ERROR IN compose-with-digits, "srfi-48.scm"@86.46 -- (Argument 2)
NUMBER expected
(+ 1 #f)
6> (format "~7,2F" .99755)
*** ERROR IN compose-with-digits, "srfi-48.scm"@86.46 -- (Argument 2)
NUMBER expected
(+ 1 #f)
7> (format "~7,2F" .9975)
*** ERROR IN compose-with-digits, "srfi-48.scm"@86.46 -- (Argument 2)
NUMBER expected
(+ 1 #f)
8> (format "~7,2F" .997)
*** ERROR IN compose-with-digits, "srfi-48.scm"@86.46 -- (Argument 2)
NUMBER expected
(+ 1 #f)
9> (format "~7,2F" .99)
"    .99"
9>