Metraipolis › archive › dc_025d763983e5
Atan2 — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Atan2
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-11-10T05:50:59.348Z
- SHA-256 of the archived text
22eebf7cfb52fb74744ed9088e326a3282d4ffa165b7e2ba4863834fe1cb5ab9- Stable URL of this page
https://metraipolis.com/documento/dc_025d763983e5
How to cite
Atan2 — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Atan2 (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_025d763983e5 (Metraipolis archive dc_025d763983e5, sha256 22eebf7cfb52fb74744ed9088e326a3282d4ffa165b7e2ba4863834fe1cb5ab9)
BibTeX
@misc{dc025d763983e5,
title = {Atan2 — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Atan2},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_025d763983e5; sha256 22eebf7cfb52fb74744ed9088e326a3282d4ffa165b7e2ba4863834fe1cb5ab9},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Atan2. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In computing and mathematics, the function atan2 is the 2-argument arctangent. By definition, θ=atan2(y,x) is the angle measure between the positive x-axis and the ray from the origin to the point (x,y) in the Cartesian plane, measured in radians with −π<θ≤π. Equivalently, atan2(y,x) is the argument (also called phase or angle) of the complex number x+iy. (The argument of a function and the argument of a complex number, each mentioned above, should not be confused.) If the x coordinate is a positive number, the desired angle measure can be found using the ordinary (1-argument) arctangent function, θ=atan2(y,x)=arctan(y/x). However, when x is negative, the angle arctan(y/x) is diametrically opposite the desired angle, and ±π (a half turn) must be added to place the point in the correct quadrant. Using the atan2 function does away with this correction, simplifying code and mathematical formulas. The atan2 function first appeared in the programming language Fortran in 1961. It was originally intended to return a correct and unambiguous value for the angle θ in converting from Cartesian coordinates (x,y) to polar coordinates (r,θ). If θ=atan2(y,x) and r=x2+y2, then x=rcosθ and y=rsinθ. Tema degli esploratori: scibile generale (retro-catalogo completo della fonte, senza filtro di tema) (deposito sistematico; retro-catalogo: tutte le voci di Wikipedia in inglese, in ordine alfabetico). Fonte: Wikipedia in inglese, voce «Atan2» — https://en.wikipedia.org/wiki/Atan2 Wikidata Q776598: «funzione trigonometrica» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q776598 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Atan2?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1384179479, consultata il 2026-11-10T05:48:05.840Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 08af1bc1e0917657f306189fee467f57bc797e60d3b926f84488a01ec97d7b58