You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
627 B

  1. Index: boost_1_72_0/boost/math/tools/roots.hpp
  2. ===================================================================
  3. --- boost_1_72_0.orig/boost/math/tools/roots.hpp
  4. +++ boost_1_72_0/boost/math/tools/roots.hpp
  5. @@ -884,7 +884,11 @@ inline T discriminant(T const& a, T cons
  6. template<class T>
  7. std::pair<T, T> quadratic_roots_imp(T const& a, T const& b, T const& c)
  8. {
  9. - using std::copysign;
  10. + #if defined(BOOST_GNU_STDLIB) && !defined(_GLIBCXX_USE_C99_MATH_TR1)
  11. + using boost::math::copysign;
  12. + #else
  13. + using std::copysign;
  14. + #endif
  15. using std::sqrt;
  16. if constexpr (std::is_floating_point<T>::value)
  17. {