[multiprecision] uses boost::math::gcd without including the header
include/boost/multiprecision/cpp_int/misc.hpp uses boost::math::gcd (and lcm), but does not include common_factor_rt.hpp.
Hi John, hi all, Is there any way to create an Integer (or a number) from a range (bounded or counted)?; or from a string_view (string_ref)? Roughly speaking, something like: XintXXX_t make_from_bounded_range(I f, I l); XintXXX_t make_from_counted_range(I f, size_t n); If not exist, I can make a contribution, are you interested? Thank you very much and best regards, Fernando Pelliccioni.
Forgive me, I rely on an existing email and I forgot to change the subject. On Mon, Jan 4, 2016 at 11:54 AM, Fernando Pelliccioni < fpelliccioni@gmail.com> wrote:
Hi John, hi all,
Is there any way to create an Integer (or a number) from a range (bounded or counted)?; or from a string_view (string_ref)?
Roughly speaking, something like:
XintXXX_t make_from_bounded_range(I f, I l); XintXXX_t make_from_counted_range(I f, size_t n);
If not exist, I can make a contribution, are you interested?
Thank you very much and best regards, Fernando Pelliccioni.
participants (2)
-
Fernando Pelliccioni
-
Peter Dimov