|
Boost : |
Subject: Re: [boost] questions about boost multiprecision
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2019-03-22 09:42:23
> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Robert Ramey via Boost
> Sent: 21 March 2019 22:44
> To: boost_at_[hidden]
> Cc: Robert Ramey
> Subject: [boost] questions about boost multiprecision
>
> I'm looking more carefully at Boost Multiprecision than I have in the
> past and have a couple of questions:
>
> It's not clear to me how errors are handled. For example, what happens
> in a divide by zero? Or what happens when a result overflows. I'm aware
> that this will likely vary depending on whether the arguments are
> arbitrary precision made a runtime or a precision fixed at compile time.
> In any case, looking through the manual I can't find this information.
> Of course this package is so ambitious, that it's possible that I've
> missed it but in that case a pointer would be appreciated.
Someone with superior knowledge has already answered your main query.
Google 'knew'.
(It does reveal that the auto-indexing needs manual help
- trying
does not yield any references to overflow :-(
)
None of our documentation tools has yet to solve this sort of need well.
> Spending some time on this makes me appreciate what an incredibly
> ambitious accomplishment this is. It's really unbelievable. I would be
> curious how frequently various parts of the package are used.
But I can also assure you from some buglets that have crept out of the woodwork, that some people are making surprisingly
sophisticated use of this package.
Paul
--- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk