
23 Feb
2012
23 Feb
'12
5:07 a.m.
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