aboutsummaryrefslogtreecommitdiff
path: root/pl/math/v_atanhf_3u1.c
diff options
context:
space:
mode:
Diffstat (limited to 'pl/math/v_atanhf_3u1.c')
-rw-r--r--pl/math/v_atanhf_3u1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pl/math/v_atanhf_3u1.c b/pl/math/v_atanhf_3u1.c
index 68dbdf6..7a027fc 100644
--- a/pl/math/v_atanhf_3u1.c
+++ b/pl/math/v_atanhf_3u1.c
@@ -31,7 +31,7 @@ VPCS_ATTR v_f32_t V_NAME (atanhf) (v_f32_t x)
v_f32_t ax = v_as_f32_u32 (iax);
-#if WANT_ERRNO
+#if WANT_SIMD_EXCEPT
v_u32_t special = v_cond_u32 ((iax >= One) | (iax <= TinyBound));
/* Side-step special cases by setting those lanes to 0, which will trigger no
exceptions. These will be fixed up later. */
@@ -51,7 +51,7 @@ VPCS_ALIAS
PL_SIG (V, F, 1, atanh, -1.0, 1.0)
PL_TEST_ULP (V_NAME (atanhf), 2.59)
-PL_TEST_EXPECT_FENV (V_NAME (atanhf), WANT_ERRNO)
+PL_TEST_EXPECT_FENV (V_NAME (atanhf), WANT_SIMD_EXCEPT)
PL_TEST_INTERVAL_C (V_NAME (atanhf), 0, 0x1p-12, 500, 0)
PL_TEST_INTERVAL_C (V_NAME (atanhf), 0x1p-12, 1, 200000, 0)
PL_TEST_INTERVAL_C (V_NAME (atanhf), 1, inf, 1000, 0)