>> >If I did decide to stick with floats, can you think of why my double is
>> >capping off at 32,768?
>>
>>Some intermediate calculation using a data type with a smaller range?
>This was my thought, too.. specifically, are you sure it isn't just your
>rounding routine that is making it "look like" it is capping there?
I think you should post the code where the "capping off" at 32,768 happens
to this list, to be sure, but it seems obvious somewhere in that code the
"capped off" float is being converted to a 16 bit int... Just go thru it
with a debugger... What might help is specifying the types of any literal
constants exactly. Use 10.0 instead 10, for example...
Sincerely,
Martin
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/