Skip to content

Commit

Permalink
Fixing input bounds for sinh_cosh test
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Dec 5, 2023
1 parent 17bfd03 commit 5653c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/sinh_cosh_approx_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TEST_CASE ("Sinh Approx Test")
#if ! defined(WIN32)
const auto all_floats = test_helpers::all_32_bit_floats (-3.5f, 3.5f, 1.0e-3f);
#else
const auto all_floats = test_helpers::all_32_bit_floats (-10.0f, 10.0f, 1.0e-1f);
const auto all_floats = test_helpers::all_32_bit_floats (-3.5f, 3.5f, 1.0e-1f);
#endif
const auto y_exact = test_helpers::compute_all<float> (all_floats, [] (auto x)
{ return std::sinh (x); });
Expand Down Expand Up @@ -80,7 +80,7 @@ TEST_CASE ("Cosh Approx Test")
#if ! defined(WIN32)
const auto all_floats = test_helpers::all_32_bit_floats (-5.0f, 5.0f, 1.0e-3f);
#else
const auto all_floats = test_helpers::all_32_bit_floats (-10.0f, 10.0f, 1.0e-1f);
const auto all_floats = test_helpers::all_32_bit_floats (-5.0f, 5.0f, 1.0e-1f);
#endif
const auto y_exact = test_helpers::compute_all<float> (all_floats, [] (auto x)
{ return std::cosh (x); });
Expand Down

0 comments on commit 5653c28

Please sign in to comment.