Care to wager? <evil grin>
-----Original Message-----
From: Jim Schram [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 17, 2000 2:00 PM
To: Palm Developer Forum
Subject: Re: CW6 optimizer bug?
[Snip]
Another way of looking at this, if x is unsigned but y and z are signed,
is that [x + (signed long) (y - z) * 10] generates results which depend
on the order each subexpression is evaluated during compilation, e.g.
[(signed long) (y - z) * 10 + x] versus [10 * (signed long) (y - z) +
x] versus [x + 10 * (signed long) (y - z)] and so forth are all
allowed to generate different results according to ANSI because of the
side effects of mixing signed and unsigned integers.
[Snip]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html