Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolm authored Jan 29, 2024
1 parent f1d9f36 commit c808a73
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ __m256 mm256_acos_ps(__m256 a);
// max error : 1.192092896e-07
__m256 mm256_asin_ps(__m256 a);

// max error : 6.699562073e-05
// max error : 1.192092896e-07
__m256 mm256_atan_ps(__m256 a);

// max error : 2.384185791e-07
Expand Down Expand Up @@ -83,7 +83,7 @@ float32x4_t vacosq_f32(float32x4_t a);
// max error : 1.192092896e-07
float32x4_t vasinq_f32(float32x4_t a);
// max error : 6.699562073e-05
// max error : 1.192092896e-07
float32x4_t vatanq_f32(float32x4_t a);
// max error : 2.384185791e-07
Expand All @@ -107,13 +107,17 @@ float32x4_t vcbrtq_f32(float32x4_t a);

# fast functions

If you use the macro \_\_MATH_INTRINSINCS_FAST\_\_ some functions will have less precision but better performances (2.5-4x):
If you use the macro \_\_MATH_INTRINSINCS_FAST\_\_ some functions will have less precision but better performances:

* sin, max_error : 2.682209015e-07
* cos, max_error : 5.811452866e-07
* acos, max_error : 6.520748138e-05
* asin, max_error : 6.520736497e-05
* atan, max_error : 7.289648056e-05
* atan2, max_error : 8.535385132e-05
* exp2, max_error : 2.317290893e-07
* cbrt, max_error : 9.659048374e-05


# references

Expand Down

0 comments on commit c808a73

Please sign in to comment.