|
From: | Florian Weimer |
Subject: | Re: GCC optimizes integer overflow: bug or feature? |
Date: | Tue, 19 Dec 2006 14:40:22 +0100 |
* Robert Dewar: > What is (a*2)/2 optimized to? certainly it has the value a if you > wrap, Huh? Isn't (INT_MAX*2)/2 negative (and thus not equal to INT_MAX) in 2-complement arithmetic?
[Prev in Thread] | Current Thread | [Next in Thread] |