Can math.atan2 return INF?
alister
alister.ware at ntlworld.com
Thu Jun 23 11:04:44 EDT 2016
On Thu, 23 Jun 2016 15:39:43 +0100, Ben Bacarisse wrote:
> Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
>
>> On Thursday 23 June 2016 14:40, Dan Sommers wrote:
>>
>>>> Since x == y, the answer should be the same as for any other pair of
>>>> x == y.
>>>
>>> When x == y == 0, then atan2(y, x) is 0.
>
> I see just added noise by making the same comment before reading the
> rest of the thread. Sorry.
>
>> /s/any other pair of x == y/any other pair of x y except for zero/
>>
>> :-P
>>
>>
>> Zero is exceptional in many ways.
>
> whereas infinity... :-)
which infinity. There are many - some larger than others
--
| |-sshd---tcsh-+-dpkg-buildpacka---rules---sh---make---make---sh---
make---sh---make---sh---make---sh---make---sh---make
-- While packaging XFree86 for Debian GNU/Linux
More information about the Python-list
mailing list