This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: /internet


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]