Both numpy and Python (beginning with version 3.2) have a function called
`isfinite()`, which returns True if the argument is neither an infinity nor a
NaN, and False otherwise.
While porting some standard Python code to use mpmath, I noticed that there is
no function `mpmath.isfinite()`. I think it would be a great and useful thing
to add, and would supplement nicely `mpmath.isnan()` and `mpmath.isinf()`,
which already parallel the versions in python's `math` module.
Original issue reported on code.google.com by garrison...@gmail.com on 1 Oct 2013 at 12:41
Original issue reported on code.google.com by
garrison...@gmail.com
on 1 Oct 2013 at 12:41