[Numpy-discussion] [RFC] new function for floating point comparison

David Cournapeau david@ar.media.kyoto-u.ac...
Fri Oct 30 05:04:13 CDT 2009


Robert Kern wrote:
>
> That sounds good. Another worthwhile addition would be nextafter().
>
> http://www.opengroup.org/onlinepubs/000095399/functions/nextafter.html
>   

Ah, I did not know about this one. I have implemented it and committed
it. One issue is that it will cause failures on platforms without
nextafterl and where long double != double, but I don't think we have  a
lot of those, if any,

David


More information about the NumPy-Discussion mailing list