Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 83, Issue 33

2013-08-20 Thread Warren Weckesser
On 8/20/13, rodrigo koblitz wrote: > Hi, > How I can do this: > int(scipy.comb(20314,117)) > ... > OverflowError: cannot convert float infinity to integer > I assume you mean `scipy.misc.comb`. If you give `comb` the argument `exact=True`, it will give the exact result as a Python long integer:

Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 83, Issue 33

2013-08-20 Thread rodrigo koblitz
Hi, How I can do this: int(scipy.comb(20314,117)) ... OverflowError: cannot convert float infinity to integer abs, Koblitz 2013/8/20 > Send NumPy-Discussion mailing list submissions to > numpy-discussion@scipy.org > > To subscribe or unsubscribe via the World Wide Web, visit >