8000
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 304ef84 commit c23a2d3Copy full SHA for c23a2d3
Doc/library/math.rst
@@ -155,8 +155,8 @@ Number-theoretic and representation functions
155
156
*abs_tol* is the absolute tolerance; it defaults to ``0.0`` and it must be
157
nonnegative. When comparing ``x`` to ``0.0``, ``isclose(x, 0)`` is computed
158
- as ``abs(x) <= rel_tol * abs(x)``, which is ``False`` for any ``x`` and
159
- 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
160
to the call.
161
162
The IEEE 754 special values of ``NaN``, ``inf``, and ``-inf`` will be
0 commit comments