The best alternative of Math.pow in J2ME

天大地大妈咪最大 提交于 2019-12-25 18:03:41

问题


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.


回答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.



来源:https://stackoverflow.com/questions/7902418/the-best-alternative-of-math-pow-in-j2me

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!