The best alternative of Math.pow in J2ME
Asked Answered
R

1

-1

What is the best alternative of the Math.pow() method in J2ME as I could come to the conclusion that J2ME does not support the Math.pow() method and some other methods such as Math.exp() and alike. I'm asking this question only to find one of the best available solutions.

Resumption answered 26/10, 2011 at 12:14 Comment(2)
did you check prior question? #2077413Greasepaint
possible duplicate of How to get the power of a number in J2MEKrp
P
1

Try

com.steema.teechart.misc.MathUtils

Here's the page I got this info on

http://www.steema.com/files/public/teechart/java/v1/docs/JavaDoc/com/steema/teechart/misc/MathUtils.html

Looks like you'll have to go the third party route. If you don't like them. Google third party math libs for J2ME.

It states it's strictly for J2ME, since J2ME doesn't have the regular Math lib java.lang.Math

java developers are use to.

Papandreou answered 26/10, 2011 at 12:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.