An open API service indexing awesome lists of open source software.

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.

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 |