Boost logo

Boost :

Subject: Re: [boost] Is there interest in portable integer overflow detection, with policy based handling?
From: Robert Ramey (ramey_at_[hidden])
Date: 2012-02-22 12:38:12


Ben Robinson wrote:

> Overflow (positive and negative) are not possible with division and
> modulus.

hmmm - what happens when an unsigned integer is divided by a
negative number? Doesn't this overflow or something?

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk