How accurate does it need to be?
If you need great accuracy, use the mathlib. If you don't need such
accuracy, use lookup tables. The code pon Ka-Ping Yee's web site has a
good example.
http://www.lfw.org/pilot/
Look for 'Polyhedra'. The fixed-point math stuff is shown in fixed.h,
and is *quite* fast, and easier to use than loading mathlib, IMHO.
-Ken
Tancredi wrote:
>
> I'm looking for a math library for a simple apllication.
> How do you make sin and cos (calculator application?).
> Thanks!
>
> --
> 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/