Use atan2, Not atan
Use atan2, not atan. That's it, that's the tweet. atan(y/x) atan2(y,x) y x π −π/2 0 −π/2 −π
A dark-mode tweet recommends using atan2 instead of atan, accompanied by side-by-side plots showing how atan loses quadrant information while atan2 correctly represents angles. The joke is a concise programming and mathematics opinion presented as if no further explanation is needed. EN: A dark-mode tweet recommends using atan2 instead of atan, accompanied by side-by-side plots showing how atan loses quadrant information while atan2 correctly represents angles. The joke is a concise programming and mathematics opinion presented as if no further explanation is needed.
- @ithueti / 4670 2021-09-07
- Type
- image
- Size
- 735×800 · 52.9 KiB
- Mood
- технический юмор
- Language
- en
- Added