From 5653c28333143f60e5269c6da2cd9498ff8c8d6d Mon Sep 17 00:00:00 2001 From: jatin Date: Tue, 5 Dec 2023 01:07:26 -0800 Subject: [PATCH] Fixing input bounds for sinh_cosh test --- test/src/sinh_cosh_approx_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/sinh_cosh_approx_test.cpp b/test/src/sinh_cosh_approx_test.cpp index 4e40043..9acb6c9 100644 --- a/test/src/sinh_cosh_approx_test.cpp +++ b/test/src/sinh_cosh_approx_test.cpp @@ -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 (all_floats, [] (auto x) { return std::sinh (x); }); @@ -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 (all_floats, [] (auto x) { return std::cosh (x); });