1 | In file included from bug.cc:5:
|
---|
2 | In file included from /usr/local/include/boost/multiprecision/cpp_bin_float.hpp:9:
|
---|
3 | In file included from /usr/local/include/boost/multiprecision/cpp_int.hpp:12:
|
---|
4 | /usr/local/include/boost/multiprecision/number.hpp:52:17: error: no viable overloaded '='
|
---|
5 | m_backend = canonical_value(v);
|
---|
6 | ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~
|
---|
7 | /usr/local/include/boost/math/constants/constants.hpp:289:3: note: in instantiation of function template specialization 'boost::multiprecision::number<boost::multiprecision::backends::cpp_bin_float<24, boost::multiprecision::backends::digit_base_type::digit_base_2, void, short, -126, 127>, boost::multiprecision::expression_template_option::et_off>::number<float>' requested here
|
---|
8 | BOOST_DEFINE_MATH_CONSTANT(pi, 3.141592653589793238462643383279502884e+00, "3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651e+00")
|
---|
9 | ^
|
---|
10 | /usr/local/include/boost/math/constants/constants.hpp:246:13: note: expanded from macro 'BOOST_DEFINE_MATH_CONSTANT'
|
---|
11 | { return BOOST_JOIN(x, F); }\
|
---|
12 | ^
|
---|
13 | /usr/local/include/boost/config/suffix.hpp:544:28: note: expanded from macro 'BOOST_JOIN'
|
---|
14 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
|
---|
15 | ^
|
---|
16 | /usr/local/include/boost/config/suffix.hpp:545:31: note: expanded from macro 'BOOST_DO_JOIN'
|
---|
17 | #define BOOST_DO_JOIN( X, Y ) BOOST_DO_JOIN2(X,Y)
|
---|
18 | ^
|
---|
19 | /usr/local/include/boost/config/suffix.hpp:546:32: note: expanded from macro 'BOOST_DO_JOIN2'
|
---|
20 | #define BOOST_DO_JOIN2( X, Y ) X##Y
|
---|
21 | ^
|
---|
22 | <scratch space>:14:1: note: expanded from here
|
---|
23 | 3.141592653589793238462643383279502884e+00F
|
---|
24 | ^
|
---|
25 | /usr/local/include/boost/multiprecision/cpp_bin_float.hpp:107:19: note: candidate function not viable: no known conversion from 'typename boost::disable_if<is_same<typename detail::canonical<float, cpp_bin_float<24, boost::multiprecision::backends::digit_base_type::digit_base_2, void, short, -126, 127> >::type, float>, typename detail::canonical<float, cpp_bin_float<24, boost::multiprecision::backends::digit_base_type::digit_base_2, void, short, -126, 127> >::type>::type' (aka 'double') to 'const boost::multiprecision::backends::cpp_bin_float<24, boost::multiprecision::backends::digit_base_type::digit_base_2, void, short, -126, 127>' for 1st argument
|
---|
26 | cpp_bin_float& operator=(const cpp_bin_float &o) BOOST_NOEXCEPT_IF(noexcept(std::declval<rep_type&>() = std::declval<const rep_type&>()))
|
---|
27 | ^
|
---|
28 | /usr/local/include/boost/multiprecision/cpp_bin_float.hpp:303:19: note: candidate function not viable: no known conversion from 'typename boost::disable_if<is_same<typename detail::canonical<float, cpp_bin_float<24, boost::multiprecision::backends::digit_base_type::digit_base_2, void, short, -126, 127> >::type, float>, typename detail::canonical<float, cpp_bin_float<24, boost::multiprecision::backends::digit_base_type::digit_base_2, void, short, -126, 127> >::type>::type' (aka 'double') to 'const char *' for 1st argument
|
---|
29 | cpp_bin_float& operator=(const char *s);
|
---|
30 | ^
|
---|
31 | /usr/local/include/boost/multiprecision/cpp_bin_float.hpp:116:19: note: candidate template ignored: could not match 'cpp_bin_float<Digits, DigitBase, type-parameter-0-2, type-parameter-0-3, MinExponent, MaxExponent>' against 'double'
|
---|
32 | cpp_bin_float& operator=(const cpp_bin_float<D, B, A, E, MinE, MaxE> &o)
|
---|
33 | ^
|
---|
34 | /usr/local/include/boost/multiprecision/cpp_bin_float.hpp:129:74: note: candidate template ignored: substitution failure [with Float = double]: no type named 'type' in 'boost::enable_if_c<false, boost::multiprecision::backends::cpp_bin_float<24, boost::multiprecision::backends::digit_base_type::digit_base_2, void, short, -126, 127> &>'
|
---|
35 | && (std::numeric_limits<Float>::radix == 2), cpp_bin_float&>::type operator=(const Float& f)
|
---|
36 | ~~~~ ^
|
---|
37 | /usr/local/include/boost/multiprecision/cpp_bin_float.hpp:271:30: note: candidate template ignored: disabled by 'enable_if' [with I = double]
|
---|
38 | typename boost::enable_if<is_integral<I>, cpp_bin_float&>::type operator=(const I& i)
|
---|
39 | ^
|
---|
40 | 1 error generated.
|
---|