[PATCH] Document arithmetic overflow semantics

Fergus Henderson fjh@cs.mu.OZ.AU
Thu Feb 13 19:23:00 GMT 2003


On 13-Feb-2003, Robert Dewar <dewar@gnat.com> wrote:
> > What do you mean by this, exactly?  Java is defied as having signed
> > two's complement arithmetic.
> 
> At the implementation level, the difference between signed and unsigned
> arithmetic (for operations like plus and minus) is in whether overflow
> is an issue or not

There are operations other than plus and minus.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



More information about the Gcc mailing list