Do C++ signed types have modulo semantics?
Michael Veksler
VEKSLER@il.ibm.com
Tue Jun 28 15:58:00 GMT 2005
Nathan Sidwell <nathan@codesourcery.com> wrote on 28/06/2005 18:48:26:
>
> why are you talking about one's complement in the context of gcc. From
> implement-c.texi
>
> @cite{Whether signed integer types are represented using sign and
magnitude,
> two's complement, or one's complement, and whether the extraordinary
value
> is a trap representation or an ordinary value (C99 6.2.6.2).}
>
> GCC supports only two's complement integer types, and all bit patterns
> are ordinary values.
>
> please stop considering non 2's complement stuff.
>
Sorry, did not realize this was documented this way.
Is "implement-c.texi" part of the user visible documentation, or is it
targeted for gcc developers?
Michael
More information about the Gcc
mailing list