Boost logo

Boost :

Subject: Re: [boost] Is there interest in portable integer overflow detection, with policy based handling?
From: Ben Robinson (cppmaven_at_[hidden])
Date: 2012-02-23 00:07:27


>
> What about UINT_MAX/-1 or INT_MIN/-1. I believe they both overflow by
> your definition.
>
> John Bytheway
>
> You are absolutely correct. I am not sure how I missed that corner case
considering that I have the negation operator, and multiplication by -1
accounted for. I will write additional unit tests and post a fix shortly.

Providing valuable feedback is why I post to the Boost community.

Thank you,

Ben Robinson

>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


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