Skip to content

Commit f405fcf

Browse files
committed
Improve docs
1 parent c620230 commit f405fcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/cmath.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Classification functions
227227
between *a* and *b*, relative to the larger absolute value of *a* or *b*.
228228
For example, to set a tolerance of 5%, pass ``rel_tol=0.05``. The default
229229
tolerance is ``1e-09``, which assures that the two values are the same
230-
within about 9 decimal digits. *rel_tol* must be a nonnegative value.
230+
within about 9 decimal digits. *rel_tol* must be greater than zero.
231231

232232
*abs_tol* is the absolute tolerance; it must be at least ``0.0``.
233233
When comparing to ``0.0``, the default tolerance values means that only

Doc/library/math.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Number-theoretic and representation functions
164164
between *a* and *b*, relative to the larger absolute value of *a* or *b*.
165165
For example, to set a tolerance of 5%, pass ``rel_tol=0.05``. The default
166166
tolerance is ``1e-09``, which assures that the two values are the same
167-
within about 9 decimal digits. *rel_tol* must be a nonnegative value.
167+
within about 9 decimal digits. *rel_tol* must be greater than zero.
168168

169169
*abs_tol* is the absolute tolerance; it must be at least ``0.0``.
170170
When comparing to ``0.0``, the default tolerance values means that only

0 commit comments

Comments
 (0)