>by now i got it to work, too - but only from within a regular application
>but not from a hack. exactly the same code works gives different results.
>this seems pretty strange to me...

to track the problem down i included atanf.c to my hack and played arround
with it...
 (get this and other sources at the prc-tools homepage cvs)

the problem is that somehow the math routines don't get the right constants
from the library

a little redefinition fixed it for the included routines (not for the ones
only in the lib)

#define PIF 3.1415926535897932384626433832795
#define PIO2F 1.5707963267948966192313216916398
#define PIO4F 0.78539816339744830961566084581988

this took me quite a lot of time to figure out so i post it here in case
somebody else gets this problem

ciao,
felix



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

Reply via email to