This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Document arithmetic overflow semantics
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, jbuck at synopsys dot com
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org,kenner at vlsi1 dot ultra dot nyu dot edu, roger at www dot eyesopen dot com
- Date: Thu, 13 Feb 2003 14:56:04 -0500 (EST)
- Subject: Re: [PATCH] Document arithmetic overflow semantics
> One of the
> possibilities is to generate a two's complement addition. Another
> is to generate a trapping addition.
OK, so you are using "two's complement addition" to imply wrapping. That's
potentially confusing terminology, I would suggest that we always say wrapping
when we mean it.