When I use the MathLib pow(x,y) function the results
are correct up to power value of 4.  After that I get
some strange results, eg:
10^2 = 100   but  10^6 = 16960   and 10^7 = -27008

Has anybody had a similar problem?

What I need to do is read two numbers (a and b) from
two fields, and then calculate a^ ( 1/(10^b) ).  And
then display the result in the decimal format using
only two decimal points.  Does anyone know how to do
it (which libraries/functions to use)?

Thanks,

Beata

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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