Re: [Numpy-discussion] numpy.arccos(numpy.inf)????

2008-05-17 Thread Christian Heimes
Stuart Brorson schrieb: Hi -- Sorry to be a pest with corner cases, but I found another one. [...] Mark and I spent a *lot* of time in fixing those edge cases in Python 2.6 and 3.0. We used the C99 standard as template. I recommend that you look at our code. Christian

Re: [Numpy-discussion] numpy.arccos(numpy.inf)????

2008-05-16 Thread Robert Kern
On Fri, May 16, 2008 at 11:47 AM, Stuart Brorson [EMAIL PROTECTED] wrote: Hi -- Sorry to be a pest with corner cases, but I found another one. In this case, if you try to take the arccos of numpy.inf in the context of a complex array, you get a bogus return (IMO). Like this: In [147]: R =

Re: [Numpy-discussion] numpy.arccos(numpy.inf)????

2008-05-16 Thread Robert Kern
On Fri, May 16, 2008 at 1:37 PM, Robert Kern [EMAIL PROTECTED] wrote: On Fri, May 16, 2008 at 11:47 AM, Stuart Brorson [EMAIL PROTECTED] wrote: Hi -- Sorry to be a pest with corner cases, but I found another one. In this case, if you try to take the arccos of numpy.inf in the context of a

Re: [Numpy-discussion] numpy.arccos(numpy.inf)????

2008-05-16 Thread Anne Archibald
2008/5/16 Stuart Brorson [EMAIL PROTECTED]: Hi -- Sorry to be a pest with corner cases, but I found another one. In this case, if you try to take the arccos of numpy.inf in the context of a complex array, you get a bogus return (IMO). Like this: In [147]: R = numpy.array([1, numpy.inf])