From 6a1182e27da6cbdbf97047f4a52585d6e083e260 Mon Sep 17 00:00:00 2001 From: jtlap Date: Tue, 26 Sep 2023 14:03:57 +0200 Subject: [PATCH] ulp for zeta macosx --- test/unit/complex/zeta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/complex/zeta.cpp b/test/unit/complex/zeta.cpp index dfeb058f..ba295ebe 100644 --- a/test/unit/complex/zeta.cpp +++ b/test/unit/complex/zeta.cpp @@ -25,7 +25,7 @@ TTS_CASE_WITH("Check behavior of zeta on wide" // TTS_RELATIVE_EQUAL(real(zeta(a0)), map([](auto e) -> v_t { return std::riemann_zeta(v_t(e)); }, a0), 01.0e-4); TTS_ULP_EQUAL(real(zeta(T(0))), T(std::riemann_zeta(v_t(0))), 0.5); TTS_ULP_EQUAL(real(zeta(T(-0.0))), T(std::riemann_zeta(v_t(-0.0))), 0.5); - TTS_ULP_EQUAL(real(zeta(T(1.5))), T(std::riemann_zeta(v_t(1.5))), 1.5); + TTS_ULP_EQUAL(real(zeta(T(1.5))), T(std::riemann_zeta(v_t(1.5))), 2.5); TTS_ULP_EQUAL(real(zeta(T(-1.5))), T(std::riemann_zeta(v_t(-1.5))), 3.5); TTS_ULP_EQUAL(real(zeta(T(14))), T(std::riemann_zeta(v_t(14))), 0.5); TTS_ULP_EQUAL(real(zeta(T(-14))), T(std::riemann_zeta(v_t(-14))), 0.5);