Re: fl+* in gambit-lib/srfi/276.sld
Peter McGoron 01 Nov 2026 21:16 UTC
Thanks for the report.
I think I just assumed it was a musl bug, because there was another bug
that I found that is actually a musl bug, or at least Gambit and musl
exhibit the same erroneous behavior (I tested it in C).
In my latest commit, i've replaced it with a c-lambda to `fma`. This is
because the rest of the library depends on the fact that one is
compiling to C anyways. The test suite passes on my computer, so it was
not a problem with musl after all.
https://github.com/mcgoron-peter/srfi-276/commit/604462e52324a7151cbfab52d9b94653aa03b62d
I'm not knowledgeable enough on how to use Gambit to make the sample
implementation work across all Gambit backends.
-- Peter McGoron