[Numpy-discussion] [Feature Suggestion]More comparison functions for floating point numbers
robert.kern at gmail.com
Mon Oct 19 17:04:45 EDT 2015
On Mon, Oct 19, 2015 at 9:51 PM, cy18 <thecy18 at gmail.com> wrote:
> It would be useful when we need to subtracting a bit before comparing by
greater or less. By subtracting a bit, we only have an absolute error
tolerance and with the new functions, we can have both absolute and
relative error tolerance. This is how isclose(a, b) better than
You just adjust the value by whichever tolerance is greatest in magnitude.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion