On Jun 29, 2006, at 9:15 AM, Marc Feeley wrote:
I have noticed that the specification of flexpt, flsqrt, flatan
and many other procedures may return a meaningless result for
certain ranges of arguments.
I think "that's not a bug, that's a feature," to coin a phrase. I
believe the intention is to let
(flsqrt -1.0)
return whatever the hardware sqrt function returns (a NaN in IEEE
754 arithmetic) rather than
> (sqrt -1.0)
+1.i
which is what Gambit returns. I believe the intent is to somehow
map the <math.h> C functions to Scheme functions; any author of the
SRFI want to comment here?