I changed it to large, as you suggested and it worked. - Thanks.........
My code is 46k and 1k Data, so I guess I can wait sometime with the
multisegmented stuff.

Regards Michael

----- Original Message -----
From: Nesse, Rustin <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Saturday, July 29, 2000 1:10 AM
Subject: RE: double and int


> How big is your code?  Try changing your code model to Smart
> or to Large.  Look into changing you app over to multi-seg if you're
> pushing the 64k single seg limit.
>
> Hope that helps!
> -Rus
>
> >-----Original Message-----
> >From: Michael Nyrup [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, July 28, 2000 4:08 PM
> >To: Palm Developer Forum
> >Subject: double and int
> >
> >
> >Hi
> >I�am sorry to turn to you people now, but I am kind of stuck.
> >I just want to have 'tc' calculated from the integer param, but I keep
> >getting
> >a link error, saying : "16bit code reference to '_d_itod' is
> >out of range."
> >
> >Is it impossible to cast a int to a double? Or could my
> >problem be something
> >else not related to the code below? (compiles fine though if I
> >do not calc
> >tc with 'degree')
> >There is no need to have param 'degree' having double
> >precision, thats the
> >reason for my integer choice.
> >
> >Pos PointFunctions::GetLngLat(int degree)
> >{
> >-----
> > double tc = ((double)degree)*(180/pi);
> >-----
> >}
> >
> >Kind regards
> >Michael Nyrup
> >
> >
> >
> >--
> >For information on using the Palm Developer Forums, or to
> >unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> >
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
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