Hi,
using MathLib is a very straightforward thing that many PalmOS apps do.
Thus, you can actually expect users to already have it on their devices.
Also, I believe that the library is entirely free to use, so no royalty fees
either!

However, keep in mind that floating point calls are extremely processor
intensive. For example, a lookup table (either an array that you initialize
at runtime or when compiling with the values or a function that you have to
hardcode) for sine, cosine and tan may be better in terms of speed that
repeatedly calling the function! And, on 1MB+ devices, the 10k or so of RAM
this takes won't kill you either!

Best regards
Tam Hanna
http://www.tamoggemon.com

Subject: Does Palm OS Develper Suite 1.2 support flointing-point math
functions?
From: [EMAIL PROTECTED]
Date: Mon, 26 Sep 2005 02:54:51 -0000
X-Message-Number: 11

Hi everyone,

Does palm OS Developer Suite 1.2 support floating-point math functions? I
try #include <math.h> and #include <palmmath.h>, but both got errors. Could
you please help? Thanks.



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

Reply via email to