-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Robert Ramey via Boost Sent: 21 March 2019 22:44 To: boost@lists.boost.org 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 https://www.boost.org/doc/libs/1_69_0/libs/multiprecision/doc/html/boost_mul... 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