At 12:23 2003-2-26 +0100, you wrote:
Could anyone tell me what is the best way to implement sin/pow on PalmOS 5.
I tired statically linking with libm.a, but my prc file then become _very_
big (something like 350KB).
Is sin/pow not implemented natively by the floating point unit of the ARM
processor?

None of the currently shipping Palm OS 5 devices have an ARM processor with a floating point unit.


It looks like whatever development tool you're using doesn't dead strip code from static libraries. You could just use the sin/cos implementations from FDLIBM yourself and not link in your math library. See the free source at http://www.netlib.org/fdlibm/index.html.

BTW, ARM development questions are best posed on the armlet-forum here -- more people doing ARM work are reading that group.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



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

Reply via email to