> Should the naked constant 10 be treated as signed or unsigned? Short or
> long integer? Those are the silent promotions in the above expression,
> and in the original example.
Ok, what about:
result = x +
(unsigned long) ((signed long) (((signed long) (y - z)) * 10L));
which (still!) 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
- Re: CW6 optimizer bug? Nathan J. Williams
- Re: CW6 optimizer bug? Jun-Kiat Lam
- Re: CW6 optimizer bug? Stephen Best
- RE: CW6 optimizer bug? Fitzpatrick, Joe
- Re: CW6 optimizer bug? Jim Schram
- Re: CW6 optimizer bug? Stephen Best
- Re: CW6 optimizer bug? Jim Schram
- RE: CW6 optimizer bug? Richard Hartman
- RE: CW6 optimizer bug? Fitzpatrick, Joe
- RE: CW6 optimizer bug? Fitzpatrick, Joe
- Re: CW6 optimizer bug? Stephen Best
- Re: CW6 optimizer bug? Nathan J. Williams
- Re: CW6 optimizer bug? Nathan J. Williams
- Re: CW6 optimizer bug? Jim Schram
- Re: CW6 optimizer bug? Stephen Best
