We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
math.isclose
1 parent 170abd2 commit 98195b2Copy full SHA for 98195b2
Doc/library/math.rst
@@ -350,8 +350,8 @@ Floating point manipulation functions
350
351
*abs_tol* is the absolute tolerance; it defaults to ``0.0`` and it must be
352
nonnegative. When comparing ``x`` to ``0.0``, ``isclose(x, 0)`` is computed
353
- as ``abs(x) <= rel_tol * abs(x)``, which is ``False`` for any ``x`` and
354
- rel_tol less than ``1.0``. So add an appropriate positive abs_tol argument
+ as ``abs(x) <= rel_tol * abs(x)``, which is ``False`` for any nonzero ``x`` and
+ *rel_tol* less than ``1.0``. So add an appropriate positive *abs_tol* argument
355
to the call.
356
357
The IEEE 754 special values of ``NaN``, ``inf``, and ``-inf`` will be
0 commit comments