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.