"Shankar Unni" <[EMAIL PROTECTED]> wrote in message
news:2288@palm-dev-forum...
>
> Well, what is it supposed to do? Technically, according to the C standard,
> anyway, this operation has undefined effects, because you are converting a
> negative number ((signed long) (y - z) * 10) into an unsigned number in
> order to add to "x".

So:

   unsigned int    x, y;

   x = 6;
   y = x + -1;

will give undefined results? I find this hard to believe.

Personally I'm all for a 256-bit word size which is always signed!

Stephen Best
Bitware Australia



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to