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/v_sinh_3u.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/v_sinh_3u.c')
-rw-r--r-- | pl/math/v_sinh_3u.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pl/math/v_sinh_3u.c b/pl/math/v_sinh_3u.c index bab8896..019cf84 100644 --- a/pl/math/v_sinh_3u.c +++ b/pl/math/v_sinh_3u.c @@ -47,4 +47,10 @@ VPCS_ALIAS PL_SIG (V, D, 1, sinh, -10.0, 10.0) PL_TEST_ULP (V_NAME (sinh), 2.08) PL_TEST_EXPECT_FENV (V_NAME (sinh), WANT_ERRNO) +PL_TEST_INTERVAL (V_NAME (sinh), 0, 0x1p-51, 100) +PL_TEST_INTERVAL (V_NAME (sinh), -0, -0x1p-51, 100) +PL_TEST_INTERVAL (V_NAME (sinh), 0x1p-51, 0x1.62e42fefa39fp+9, 100000) +PL_TEST_INTERVAL (V_NAME (sinh), -0x1p-51, -0x1.62e42fefa39fp+9, 100000) +PL_TEST_INTERVAL (V_NAME (sinh), 0x1.62e42fefa39fp+9, inf, 1000) +PL_TEST_INTERVAL (V_NAME (sinh), -0x1.62e42fefa39fp+9, -inf, 1000) #endif |