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/sv_expf_2u.c | |
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/sv_expf_2u.c')
-rw-r--r-- | pl/math/sv_expf_2u.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pl/math/sv_expf_2u.c b/pl/math/sv_expf_2u.c index f97a762..30a6c62 100644 --- a/pl/math/sv_expf_2u.c +++ b/pl/math/sv_expf_2u.c @@ -145,4 +145,12 @@ PL_ALIAS (__sv_expf_x, _ZGVsMxv_expf) PL_SIG (SV, F, 1, exp, -9.9, 9.9) PL_TEST_ULP (__sv_expf, 1.46) +PL_TEST_INTERVAL (__sv_expf, 0, 0x1p-23, 40000) +PL_TEST_INTERVAL (__sv_expf, 0x1p-23, 1, 50000) +PL_TEST_INTERVAL (__sv_expf, 1, 0x1p23, 50000) +PL_TEST_INTERVAL (__sv_expf, 0x1p23, inf, 50000) +PL_TEST_INTERVAL (__sv_expf, -0, -0x1p-23, 40000) +PL_TEST_INTERVAL (__sv_expf, -0x1p-23, -1, 50000) +PL_TEST_INTERVAL (__sv_expf, -1, -0x1p23, 50000) +PL_TEST_INTERVAL (__sv_expf, -0x1p23, -inf, 50000) #endif // SV_SUPPORTED |