mirror of
https://github.com/boostorg/math.git
synced 2026-02-22 03:22:28 +00:00
Replace <boost/config> w <boost/math/tools/config>
This commit is contained in:
@@ -75,7 +75,7 @@ template <typename T, std::size_t OrderValue>
|
||||
struct test_constants_t {
|
||||
static constexpr auto n_samples = if_t<mp11::mp_or<bmp::is_number<T>, bmp::is_number_expression<T>>, mp11::mp_int<10>, mp11::mp_int<25>>::value;
|
||||
static constexpr auto order = OrderValue;
|
||||
static constexpr T pct_epsilon() BOOST_NOEXCEPT {
|
||||
static constexpr T pct_epsilon() noexcept {
|
||||
return (is_multiprecision_t<T>::value ? 2 : 1) * std::numeric_limits<T>::epsilon() * 100;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -77,7 +77,7 @@ inline int itrunc(const big_real_concept& val)
|
||||
namespace tools{
|
||||
|
||||
template <>
|
||||
inline constexpr int digits<concepts::big_real_concept>(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE_SPEC(T)) BOOST_NOEXCEPT
|
||||
inline constexpr int digits<concepts::big_real_concept>(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE_SPEC(T)) noexcept
|
||||
{
|
||||
return 2 * boost::math::constants::max_string_digits;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user