Jim Schram <[EMAIL PROTECTED]> writes:
> At 9:37 AM +1000 2000/02/18, Stephen Best wrote:
> >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));
>
> 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.
constant 10: plain int, signed. No question; ANSI says so.
- Nathan
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html