Pull request: document issues with flquotient Peter McGoron (30 Jul 2026 05:05 UTC)
(missing)
Re: Pull request: document issues with flquotient Peter McGoron (30 Jul 2026 23:58 UTC)
Re: Pull request: document issues with flquotient John Cowan (31 Jul 2026 00:02 UTC)
Re: Pull request: document issues with flquotient Peter McGoron (31 Jul 2026 00:05 UTC)

Pull request: document issues with flquotient Peter McGoron 30 Jul 2026 05:02 UTC

Hello John,

I've proposed this change to the sample implementation of SRFI 144 (a
large comment). Do you approve?

https://github.com/scheme-requests-for-implementation/srfi-144/pull/9

-- Peter McGoron

_____________________

flquotient does not always return the correctly rounded quotient. It is
technically possible to implement this in terms of the procedures in
SRFI 144, but it is basically doing what all hardware past 1985 already
does for you.

This documents the issue and provides a sample implementation in C for
the correct behavior. The comment goes into more detail and also offers
some alternative implementation strategies.