aboutsummaryrefslogtreecommitdiff
path: root/pl/math/sv_erff_1u3.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_erff_1u3.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_erff_1u3.c')
-rw-r--r--pl/math/sv_erff_1u3.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pl/math/sv_erff_1u3.c b/pl/math/sv_erff_1u3.c
index 02d7625..9589fb3 100644
--- a/pl/math/sv_erff_1u3.c
+++ b/pl/math/sv_erff_1u3.c
@@ -7,6 +7,7 @@
#include "sv_math.h"
#include "pl_sig.h"
+#include "pl_test.h"
#if SV_SUPPORTED
@@ -88,7 +89,8 @@ __sv_erff_x (sv_f32_t x, const svbool_t pg)
return y;
}
-strong_alias (__sv_erff_x, _ZGVsMxv_erff)
+PL_ALIAS (__sv_erff_x, _ZGVsMxv_erff)
- PL_SIG (SV, F, 1, erf, -4.0, 4.0)
+PL_SIG (SV, F, 1, erf, -4.0, 4.0)
+PL_TEST_ULP (__sv_erff, 0.76)
#endif