Jump to content

Talk:Atan2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Felipebm (talk | contribs) at 19:08, 25 March 2008 (alert for a broken link in this article). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

I m' not used to formula editing. Were it the case, I would fix the bit myself.

Anyway, in the definition of the function atan2, the first case appears to involve the function atan2 itself! This recursive definition being improper here, I assume the canonical "arctan" function was meant. Max.


This article isn't very clear about the order of the two arguments x and y in the atan2() function call. Many people will incorrectly assume at first glance that it is atan2(x,y) -- the text should be more explicit (I missed the order in the "more specifically" text the first 3 times I read it). I maintain a parser for an expression language where atan2(a,b) returns atan(b/a) rather than C's atan(a/b)...

Fixed. ~a (usertalkcontribs) 00:22, 31 March 2007 (UTC)[reply]


The C-language atan2 is convenient to apply by remembering that tangent = opposite/adjacent. Since angle = atan2(opposite,adjacent), it's easy to remember. Hollimb 18:43, 25 March 2007 (UTC)[reply]

Closed/semi-open interval

It is not the first time I see someone changing for in the first paragraph (Indeed, I think I did so sometime in the past). I think this issue should be discussed here and an invisible comment should be kept in the article, for editor's guidance.

As a mathematical funcion, atan2 is defined as

It couldn't be because:

Therefore atan2's codomain is , NOT . I think the confusion arises from computational implementation and how it deals with signed zero.

Since "zero" is now a limit instead of finite real value, we have

and, particularly

but this is only a limit; mathematical atan2 function does NEVER gives that result. Rjgodoy 19:27, 3 July 2007 (UTC)[reply]

atan2 and atan

In Maxima atan2(x,1)=atan(x)

Adam majewski 21:02, 28 October 2007 (UTC)[reply]

Hi, I'm not sure where this link shall point out so I may put it here if someone knows how to fix it. There's a broken link in reference [1] where it says:

include the C-style atan2 function. The Linux Programmer's Manual [1] says:

--Felipebm (talk) 19:08, 25 March 2008 (UTC)[reply]