diff options
author | Joe Ramsay <Joe.Ramsay@arm.com> | 2022-12-15 13:28:06 +0000 |
---|---|---|
committer | Joe Ramsay <joe.ramsay@arm.com> | 2022-12-15 13:28:06 +0000 |
commit | 202e46317ee8983516b6413066a57bd624ffa044 (patch) | |
tree | 70f04af3596ff1fbaeaf926a4dfbf3e4d57d8de9 /pl/math/test/pl_test.h | |
parent | d748e1520dd2ff5ad3574bd0827cdd882bf6bed8 (diff) | |
download | arm-optimized-routines-202e46317ee8983516b6413066a57bd624ffa044.tar.gz |
pl/math: Move test intervals to routine source files
To conclude the work on simplifying the runulp.sh script, a new macro
has been introduced to specify the intervals in which a routine should
be tested in the routine source. This is eventually consumed by
runulp.sh.
Diffstat (limited to 'pl/math/test/pl_test.h')
-rw-r--r-- | pl/math/test/pl_test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pl/math/test/pl_test.h b/pl/math/test/pl_test.h index 66dc73a..9bbcaf1 100644 --- a/pl/math/test/pl_test.h +++ b/pl/math/test/pl_test.h @@ -27,3 +27,6 @@ #define PL_TEST_EXPECT_FENV(f, e) PL_TEST_EXPECT_FENV_ (f, e) #define PL_TEST_EXPECT_FENV_(f, e) PL_TEST_EXPECT_FENV_##e (f) #define PL_TEST_EXPECT_FENV_1(f) PL_TEST_EXPECT_FENV_ENABLED f + +#define PL_TEST_INTERVAL(f, lo, hi, n) PL_TEST_INTERVAL f lo hi n +#define PL_TEST_INTERVAL_C(f, lo, hi, n, c) PL_TEST_INTERVAL f lo hi n c |