aboutsummaryrefslogtreecommitdiff
path: root/pl/math/sv_atan_2u5.c
diff options
context:
space:
mode:
authorJoe Ramsay <Joe.Ramsay@arm.com>2022-12-15 13:27:39 +0000
committerJoe Ramsay <joe.ramsay@arm.com>2022-12-15 13:27:39 +0000
commitecb1c6f6ea7872645cb4c26514d5f64815b61a1b (patch)
tree9eace7b472f020f534b7946cd47ef8e08ac11bec /pl/math/sv_atan_2u5.c
parent1bca1a541cce13c352296acd5dfa16160fc27bc9 (diff)
downloadarm-optimized-routines-ecb1c6f6ea7872645cb4c26514d5f64815b61a1b.tar.gz
pl/math: Move ULP limits to routine source files
Introduces a new set of macros and Make rules for mechanically generating a list of ULP limits for each routine, to be consumed by runulp.sh. This removes the need to maintain long lists of thresholds in runulp.sh.
Diffstat (limited to 'pl/math/sv_atan_2u5.c')
-rw-r--r--pl/math/sv_atan_2u5.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pl/math/sv_atan_2u5.c b/pl/math/sv_atan_2u5.c
index 4f52b43..93b39b1 100644
--- a/pl/math/sv_atan_2u5.c
+++ b/pl/math/sv_atan_2u5.c
@@ -7,6 +7,7 @@
#include "sv_math.h"
#include "pl_sig.h"
+#include "pl_test.h"
#if SV_SUPPORTED
@@ -49,7 +50,8 @@ __sv_atan_x (sv_f64_t x, const svbool_t pg)
return y;
}
-strong_alias (__sv_atan_x, _ZGVsMxv_atan)
+PL_ALIAS (__sv_atan_x, _ZGVsMxv_atan)
- PL_SIG (SV, D, 1, atan, -3.1, 3.1)
+PL_SIG (SV, D, 1, atan, -3.1, 3.1)
+PL_TEST_ULP (__sv_atan, 1.78)
#endif