2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Losen tolerance on cohen acceleration

This commit is contained in:
Matt Borland
2023-11-03 08:18:03 +01:00
parent 36a3dbd01f
commit bfa206d12c

View File

@@ -71,7 +71,7 @@ void test_divergent()
{
auto g = Divergent<Real>();
Real x = -cohen_acceleration(g);
CHECK_ULP_CLOSE(log(pi<Real>()/2)/2, x, (std::numeric_limits<Real>::digits > 100 ? 350 : 135));
CHECK_ULP_CLOSE(log(pi<Real>()/2)/2, x, (std::numeric_limits<Real>::digits > 100 ? 350 : 150));
}
int main()