You're making use of conversion (from integer to double) that is compiled by calling a
routine in the startup code which is placed at the start of the segment. The error
you're getting is simply that the call site is too far away from the called routine.
Jumps are limited to 32K forward or back from the call site. You should be able to
solve this problem by:
- Moving the calling routine closer to the start of the segment, or
- Switching to the 'smart' code model
The former might be tricky, and might even require splitting your program into
multiple segments, which is a bit tricky. The latter is easy, but produces larger
slower code.
--
Peter Epstein
Palm Inc. Developer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/