"Jim Schram" <[EMAIL PROTECTED]> wrote in message
news:2371@palm-dev-forum...

> It means mixing signed and unsigned arithmetic is just a really bad idea!

And you never do this? .... :-).

> None of this violates any casting or integer conversion rules; it's a
> silent sign promotion problem during expression evaluation. Ain't broke.
> Nothin' to fix.

At the risk of boring others that have real work to do, where's the "silent"
conversion in:

result = x + (unsigned long) ((signed long) ((signed long) (y - z) * 10));

which also gives the same result?

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