DSPRelated.com

Nic Taylor (@NicTVG)

Since 2008 has been integrating and extending video game audio engines. And on the side writing digital audio effect plugins for music.

How to Find a Fast Floating-Point atan2 Approximation

Nic Taylor May 26, 201715 comments
Context Over a short period of time, I came across nearly identical approximations of the two parameter arctangent function, atan2, developed by different companies, in different countries, and even in different decades. Fascinated with how the coefficients used in these approximations were derived, I set out to find them. This atan2 implementation is based around a rational approximation of arctangent on the domain -1 to 1:

$$ atan(z) \approx \dfrac{z}{1.0 +...


No Threads Found

Use this form to contact NicTVG

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address