https://github.com/ducha-aiki/fast_atan2
Realization of the atan2 approximations faster than standard function.
https://github.com/ducha-aiki/fast_atan2
atan2 c-plus-plus
Last synced: 8 months ago
JSON representation
Realization of the atan2 approximations faster than standard function.
- Host: GitHub
- URL: https://github.com/ducha-aiki/fast_atan2
- Owner: ducha-aiki
- License: other
- Created: 2013-07-04T09:49:08.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-04T09:53:52.000Z (over 12 years ago)
- Last Synced: 2025-02-25T15:07:58.707Z (11 months ago)
- Topics: atan2, c-plus-plus
- Language: C++
- Size: 105 KB
- Stars: 25
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
fast_atan is realization of the atan2 approximations faster than standard function.
Performance atan2 approximations on 200 000 random values
name | time [us]| mean error [deg] | max. error [deg] |
cmath atan2 | 16324 | – | – |
atan2LUT[256] | 4534 | 0.083 | 0.224 |
atan2LUTif[256] | 4710 | 0.083 | 0.224 |
atan2PI_4 | 3826 | 2.640 | 4.074 |
atan2approx | 3949 | 0.135 | 0.215 |