Yet more fixes from Mr. Hamayama:

  I found following error cases.

  (a) (format "~1,0F" 1.5)       -> "1."
  (b) (format "~1,0F" (/. 1 0))  -> "+inf."
  (c) (format "~1,0F" (/. -1 0)) -> "-inf."
  (d) (format "~1,0F" (/. 0 0))  -> "+nan."
  For (a), (format "~1,0F" 1.5) must return "2."
  because 'round' of Scheme uses banker's rounding.

  The reason of (a) is that integer part and fractional part
  were processed separately.

  For (b)-(d), it is necessary to check +inf.0, -inf.0, +nan.0, -nan.0.

  I fixed these cases and updated tests.

Here's the diff:

  <https://github.com/scheme-requests-for-implementation/srfi-48/compare/d35962746b6ccf25ce7490fdf059305e8c5d5949...4d557f6de759966dadcf66b808450e2f72e30097>

Regards,


SRFI Editor