Skip to content

Commit

Permalink
ulp for zeta macosx
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlap committed Sep 26, 2023
1 parent dafaf1b commit 6a1182e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/complex/zeta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a1182e

Please sign in to comment.