Skip to content
Prev Previous commit
Next Next commit
Improve docs
  • Loading branch information
Xiaokang2022 committed Oct 31, 2024
commit f405fcf3ceebff84e8a6c1340d636f490b64d882
2 changes: 1 addition & 1 deletion Doc/library/cmath.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Classification functions
between *a* and *b*, relative to the larger absolute value of *a* or *b*.
For example, to set a tolerance of 5%, pass ``rel_tol=0.05``. The default
tolerance is ``1e-09``, which assures that the two values are the same
within about 9 decimal digits. *rel_tol* must be a nonnegative value.
within about 9 decimal digits. *rel_tol* must be greater than zero.

*abs_tol* is the absolute tolerance; it must be at least ``0.0``.
Comment thread
terryjreedy marked this conversation as resolved.
Outdated
When comparing to ``0.0``, the default tolerance values means that only
Comment thread
terryjreedy marked this conversation as resolved.
Outdated
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/math.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Number-theoretic and representation functions
between *a* and *b*, relative to the larger absolute value of *a* or *b*.
For example, to set a tolerance of 5%, pass ``rel_tol=0.05``. The default
tolerance is ``1e-09``, which assures that the two values are the same
within about 9 decimal digits. *rel_tol* must be a nonnegative value.
within about 9 decimal digits. *rel_tol* must be greater than zero.

*abs_tol* is the absolute tolerance; it must be at least ``0.0``.
Comment thread
Xiaokang2022 marked this conversation as resolved.
Outdated
When comparing to ``0.0``, the default tolerance values means that only
Expand Down