diff options
author | Joe Ramsay <Joe.Ramsay@arm.com> | 2022-11-22 13:40:07 +0000 |
---|---|---|
committer | Joe Ramsay <joe.ramsay@arm.com> | 2022-11-22 13:40:07 +0000 |
commit | d5844d863d498cb1c43fde4ae3e47f3eeb5d0024 (patch) | |
tree | 83c1b8c9ae3cea23c50f8b1288594af31e8922fc /pl/math/test/mathbench_funcs.h | |
parent | 9ace52019cab223febddb3fcd166b6b4ba64081f (diff) | |
download | arm-optimized-routines-d5844d863d498cb1c43fde4ae3e47f3eeb5d0024.tar.gz |
pl/math: Add scalar and vector/Neon atanhf
Both routines are based on a simplified version of log1pf, and are
accurate to 3.1 ULP. Also enabled -c flag from runulp.sh - we need
this for atanhf so that we can set the control lane to something other
than 1, since atanh(1) is infinite.
Diffstat (limited to 'pl/math/test/mathbench_funcs.h')
-rw-r--r-- | pl/math/test/mathbench_funcs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pl/math/test/mathbench_funcs.h b/pl/math/test/mathbench_funcs.h index 583c8fb..de009a3 100644 --- a/pl/math/test/mathbench_funcs.h +++ b/pl/math/test/mathbench_funcs.h @@ -30,6 +30,7 @@ F (acoshf, 1.0, 10.0) F (asinhf, -10.0, 10.0) F (atanf, -10.0, 10.0) {"atan2f", 'f', 0, -10.0, 10.0, {.f = atan2f_wrap}}, +F (atanhf, -1.0, 1.0) F (cosf, -3.1, 3.1) F (coshf, -10.0, 10.0) F (erfcf, -4.0, 10.0) @@ -61,6 +62,7 @@ D (sinh, -10.0, 10.0) #if WANT_VMATH ZVNF (asinhf, -10.0, 10.0) ZVNF (atanf, -10.0, 10.0) +ZVNF (atanhf, -1.0, 1.0) ZVND (atan, -10.0, 10.0) ZVNF (coshf, -10.0, 10.0) ZVND (cosh, -10.0, 10.0) |