Skip to content

Commit 8270e2a

Browse files
committed
Tighten up tols and try/retry broken CI
1 parent 2c8e6a7 commit 8270e2a

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

include/boost/decimal/detail/cmath/impl/exp_impl.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ constexpr auto exp_pade_appxroximant<decimal128>(decimal128 x) noexcept
6666
{
6767
// Compute exp(x) - 1 for x small.
6868

69+
// TODO: Does it make sense to try and improve accuracy/precision with more Pade terms?
70+
// Or would a simple Tylor expansion here simply be better?
71+
6972
// Use an order-12 Pade approximation of the exponential function.
7073
// PadeApproximant[Exp[x] - 1, {x, 0, 12, 12}].
7174

test/test_cosh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ auto main() -> int
352352

353353
const auto result_pos64_is_ok = local::test_cosh_64(64);
354354

355-
const auto result_pos128_is_ok = local::test_cosh_128(500000);
355+
const auto result_pos128_is_ok = local::test_cosh_128(400000);
356356

357357
BOOST_TEST(result_pos_is_ok);
358358
BOOST_TEST(result_neg_is_ok);

test/test_sinh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ auto main() -> int
351351

352352
const auto result_pos64_is_ok = local::test_sinh_64(64);
353353

354-
const auto result_pos128_is_ok = local::test_sinh_128(500000);
354+
const auto result_pos128_is_ok = local::test_sinh_128(400000);
355355

356356
BOOST_TEST(result_pos_is_ok);
357357
BOOST_TEST(result_neg_is_ok);

test/test_tanh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ auto main() -> int
352352

353353
const auto result_pos64_is_ok = local::test_tanh_64(64);
354354

355-
const auto result_pos128_is_ok = local::test_tanh_128(500000);
355+
const auto result_pos128_is_ok = local::test_tanh_128(400000);
356356

357357
BOOST_TEST(result_pos_is_ok);
358358
BOOST_TEST(result_neg_is_ok);

0 commit comments

Comments
 (0)