aboutsummaryrefslogtreecommitdiff
path: root/pl/math/v_log2f_2u6.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/v_log2f_2u6.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/v_log2f_2u6.c')
-rw-r--r--pl/math/v_log2f_2u6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pl/math/v_log2f_2u6.c b/pl/math/v_log2f_2u6.c
index 335b324..8d7d138 100644
--- a/pl/math/v_log2f_2u6.c
+++ b/pl/math/v_log2f_2u6.c
@@ -8,6 +8,7 @@
#include "v_math.h"
#include "math_config.h"
#include "pl_sig.h"
+#include "pl_test.h"
#if V_SUPPORTED
@@ -120,4 +121,5 @@ VPCS_ATTR v_f32_t V_NAME (log2f) (v_f32_t x)
VPCS_ALIAS
PL_SIG (V, F, 1, log2, 0.01, 11.1)
+PL_TEST_ULP (V_NAME (log2f), 2.10)
#endif