[Python-Dev] Re: Possible bug (was Re: numpy, overflow, inf, ieee, and rich comparison)
Guido van Rossum
guido@python.org
Wed, 11 Oct 2000 16:19:28 -0500
Thanks for digging deeper into this.
> Pesonally, I think the patch should just be reversed... The comment above
> the check certainly could be read as 'Linux requires -lieee for correct f.p.
> operations', and perhaps that's how it was meant.
No, the configure patch is right. Tim will check in a change that
treats ERANGE with a return value of 0.0 as underflow (returning 0.0,
not raising OverflowError).
--Guido van Rossum (home page: http://www.python.org/~guido/)