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

Work through more CI failures.

This commit is contained in:
jzmaddock
2024-06-02 12:04:09 +01:00
parent 7d56997a99
commit 20f44d1275
3 changed files with 14 additions and 1 deletions

View File

@@ -90,6 +90,9 @@ public:
std_real_concept& operator=(float c) { m_value = c; return *this; }
std_real_concept& operator=(double c) { m_value = c; return *this; }
std_real_concept& operator=(long double c) { m_value = c; return *this; }
#ifdef BOOST_MATH_USE_FLOAT128
std_real_concept& operator=(BOOST_MATH_FLOAT128_TYPE c) { m_value = c; return *this; }
#endif
// Access:
std_real_concept_base_type value()const{ return m_value; }

View File

@@ -644,7 +644,7 @@ BOOST_AUTO_TEST_CASE(exp_sinh_quadrature_test)
test_right_limit_infinite<std::float64_t>();
test_nr_examples<std::float64_t>();
test_crc<std::float64_t>();
test_non_central_t<float64_t>();
test_non_central_t<std::float64_t>();
#else
test_left_limit_infinite<double>();
test_right_limit_infinite<double>();

View File

@@ -40,6 +40,14 @@ using std::endl;
#include <limits>
using std::numeric_limits;
#if defined(__GNUC__) && (__GNUC__ < 13) && (defined(__CYGWIN__) || defined(_WIN32))
//
// We either get an internal compiler error, or worse, the compiler prints nothing at all
// and exits with an error code :(
//
# define DISABLE_THIS_TEST
#endif
void expected_results()
{
@@ -83,10 +91,12 @@ BOOST_AUTO_TEST_CASE( test_main )
BOOST_MATH_CONTROL_FP;
// Basic sanity-check spot values.
expected_results();
#ifndef DISABLE_THIS_TEST
#if !BOOST_WORKAROUND(BOOST_MSVC, < 1920)
test_spots(boost::multiprecision::cpp_bin_float_quad(0));
#endif
test_accuracy(boost::multiprecision::cpp_bin_float_quad(0), "cpp_bin_float_quad");
#endif
// double precision tests only:
//test_big_df(boost::multiprecision::cpp_bin_float_quad(0));
} // BOOST_AUTO_TEST_CASE( test_main )