Can math.atan2 return INF?
ben.usenet at bsb.me.uk
Thu Jun 23 10:39:43 EDT 2016
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/
> Zero is exceptional in many ways.
whereas infinity... :-)
More information about the Python-list