>I did set the compiler to "not" use 8 byte doubles and 4 byte ints,
however,
>it still is creating 8 byte doubles (but the ints are correct at 2 bytes).

This isn't surprising. The full meaning of "double" is "double precision
floating point". If a standard IEEE "float" is 32 bits, then a double must
be >32 bits or else it would be the same precision as a float. Of course,
the size of an "int" can be anything, and it is generally intended to be
CPU-dependent. That is, the size of an int is usually set to the bit size
that that the ALU of the target processor handles the most efficiently.
However, it is an easy setting to override, as we see on the Palm/CW
platform.

  Doug Gordon



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to