Boost logo

Boost :

Subject: Re: [boost] [review] Multiprecision review (June 8th - 17th, 2012)
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-06-29 08:12:40

> I do not see any mention if this is the case for gmp_int and/or tom_int.
> If it is not the same then a programmer constructing an mp_number using a
> cpp_int_backend<> which passes a string potentially containing an invalid
> non_numeric character must handled the mp_number constructor differently
> than when constructing using a gmp_int or a tom_int backend. But ideally
> one wants to choose any effective backend and then have all functionality
> be consistently the same and hopefully equally as correct as possible. My
> point is simply that I believe the library should normalize ( or
> "regularize" ) any differences as much as possible as long as this does
> not affect the accuracy ( and perhaps speed ) of the library. Of course
> there are always tradeoffs but a generic library should always work to
> minimize differences wherever possible.

Nod. I will certainly try and normalize behavior where practical, and those
are good examples to look at further,

Thanks, John.

Boost list run by bdawes at, gregod at, cpdaniel at, john at