The category should probably read Documentation.
I like brief in doco but sometimes it will bite you. This should be an issue
but I am unsure how to word it properly. So I just put it down here while it
is in my head.
Currently atan2() says
This is equivalent to the arc tangent of y / x except
that the signs of y and x are used to determine the
quadrant of the result.
... not reeeeeally
It is not the equivalent of the arctangent. It IS the arctangent. If the
intended meaning was that it was the equivalent of atan() then it is
most definitely wrong because atan() returns a result in [-pi/2,+pi/2]
whereas atan2() returns a result in [-pi,+pi].
How about something like:
This is the arc (or inverse) tangent of y / x which lies in
the inclusive range [-pi,+pi] where the signs of y and x are
used to determine the quadrant of the result.
Somebody might have better words.
The words for atan() should qualify the range of its result.
Is this a bigger issue which means all ranges should be mentioned??
Sorry if I am making work for somebody.