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, gregod at, cpdaniel at, john at