Re: Bug in srfi-48?

Donald Allen <[email protected]> Wed, 11 Oct 2017 16:36:43 -0400
Newsgroups gmane.lisp.scheme.srfi.srfi-48
Message-ID <CAPsTYbye1jCK16qtsCVrxoJ-6XOX6ZLJZHKefCAYQ1Uzk6uceQ@mail.gmail.com>
On 11 October 2017 at 15:45, Arthur A. Gleckler <[email protected]> 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>