From 202e46317ee8983516b6413066a57bd624ffa044 Mon Sep 17 00:00:00 2001 From: Joe Ramsay Date: Thu, 15 Dec 2022 13:28:06 +0000 Subject: 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. --- pl/math/v_sinh_3u.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pl/math/v_sinh_3u.c') 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 -- cgit v1.2.3