This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: /internet
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: /internet
- From: Horst von Brand <vonbrand at inf dot utfsm dot cl>
- Date: Thu, 17 Dec 1998 14:45:15 -0300
- cc: egcs at cygnus dot com
Joern Rennecke <amylaar@cygnus.co.uk> said:
[...]
> Well, if the machine can support C at all, it can support unsigned integers.
> So the worst case would be to implement all signed arithmetic with
> unsigned arithmetic.
Who says unsigned arithmetic isn't implemented by splitting each word in
half and computing the result from there to avoid overflows?
(Yes, I love to spoilsport :)
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513