Issue 244 in mpmath: Proposal: mpmath.isfinite()

4 views
Skip to first unread message

mpm...@googlecode.com

unread,
Sep 30, 2013, 8:41:24 PM9/30/13
to mpmath...@googlegroups.com
Status: New
Owner: ----

New issue 244 by garrison...@gmail.com: Proposal: mpmath.isfinite()
http://code.google.com/p/mpmath/issues/detail?id=244

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.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

mpm...@googlecode.com

unread,
Dec 26, 2013, 12:07:01 PM12/26/13
to mpmath...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 244 by fredrik....@gmail.com: Proposal:
mpmath.isfinite()
http://code.google.com/p/mpmath/issues/detail?id=244

Added.
Reply all
Reply to author
Forward
0 new messages