Subject: Re: [boost] [xint] Design Question
From: Maxime van Noppen (maxime_at_[hidden])
Date: 2010-06-17 13:23:23
On 06/17/2010 06:28 PM, Chad Nelson wrote:
> That seems to be the consensus. So far it looks like there should be
> four options:
> * Modulus (only available on fixed-length types);
> * Throw exception;
> * Force to zero (for "saturation");
> * Force to absolute value of number (possibly via a different function).
> I suspect it'll be at least a few days before I can upload a version
> with that feature, because I want to make some other improvements that
> I've recently discovered are possible first.
I recall of a discussion here about NaN in xint. It could be used at
least for NoThrow variants (especially if the 'Throw exception' option
By the way, are there +inf/-inf values for xint ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk