commit | 8e0c9968731ac7f1d94bddff348544c70833b52b | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sun Jul 11 17:38:24 2010 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sun Jul 11 17:38:24 2010 +0000 |
tree | af0d4866d6dbae9e9b9003435956c6f2f7141dea | |
parent | 3e7428995f9d09493640326104c70a26c7cdab07 [diff] [blame] |
Issue #9165: Add math.isfinite and cmath.isfinite.
diff --git a/Doc/library/cmath.rst b/Doc/library/cmath.rst index 14b909b..ae94039 100644 --- a/Doc/library/cmath.rst +++ b/Doc/library/cmath.rst
@@ -187,6 +187,12 @@ Classification functions ------------------------ +.. function:: isfinite(x) + + Return ``True`` if both the real and imaginary parts of *x* are finite, + and ``False`` otherwise. + + .. function:: isinf(x) Return *True* if the real or the imaginary part of x is positive