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_atan_2u5.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_atan_2u5.c')
-rw-r--r-- | pl/math/sv_atan_2u5.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pl/math/sv_atan_2u5.c b/pl/math/sv_atan_2u5.c index 93b39b1..16430a2 100644 --- a/pl/math/sv_atan_2u5.c +++ b/pl/math/sv_atan_2u5.c @@ -54,4 +54,9 @@ PL_ALIAS (__sv_atan_x, _ZGVsMxv_atan) PL_SIG (SV, D, 1, atan, -3.1, 3.1) PL_TEST_ULP (__sv_atan, 1.78) +PL_TEST_INTERVAL (__sv_atan, -10.0, 10.0, 50000) +PL_TEST_INTERVAL (__sv_atan, -1.0, 1.0, 40000) +PL_TEST_INTERVAL (__sv_atan, 0.0, 1.0, 40000) +PL_TEST_INTERVAL (__sv_atan, 1.0, 100.0, 40000) +PL_TEST_INTERVAL (__sv_atan, 1e6, 1e32, 40000) #endif |