mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-02-20 14:52:24 +00:00
Address doc concerns of Vincente Botet Escriba in pre-review comments.
Rebuild docs. [SVN r78807]
This commit is contained in:
@@ -1234,6 +1234,20 @@ struct promote_arg<boost::multiprecision::detail::mp_exp<tag, A1, A2, A3, A4> >
|
||||
typedef typename boost::multiprecision::detail::mp_exp<tag, A1, A2, A3, A4>::result_type type;
|
||||
};
|
||||
|
||||
template <class R, class B, bool ET>
|
||||
inline R real_cast(const boost::multiprecision::mp_number<B, ET>& val)
|
||||
{
|
||||
return val.template convert_to<R>();
|
||||
}
|
||||
|
||||
template <class R, class tag, class A1, class A2, class A3, class A4>
|
||||
inline R real_cast(const boost::multiprecision::detail::mp_exp<tag, A1, A2, A3, A4>& val)
|
||||
{
|
||||
typedef typename boost::multiprecision::detail::mp_exp<tag, A1, A2, A3, A4>::result_type val_type;
|
||||
return val_type(val).template convert_to<R>();
|
||||
}
|
||||
|
||||
|
||||
}}}
|
||||
|
||||
#endif // BOOST_MATH_BIG_NUM_BASE_HPP
|
||||
|
||||
@@ -25,7 +25,7 @@ struct mpfr_float_backend;
|
||||
|
||||
namespace detail{
|
||||
|
||||
long get_default_precision() { return 50; }
|
||||
inline long get_default_precision() { return 50; }
|
||||
|
||||
template <unsigned digits10>
|
||||
struct mpfr_float_imp
|
||||
|
||||
Reference in New Issue
Block a user