J2ME中Math.pow的最佳替代 [英] The best alternative of Math.pow in J2ME

查看:91
本文介绍了J2ME中Math.pow的最佳替代的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

J2ME中Math.pow()方法的最佳替代方法是什么,因为我可以得出这样的结论:J2ME不支持Math.pow()方法和其他一些方法,例如Math.exp()等. .我问这个问题只是为了找到最好的可用解决方案之一.

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.

推荐答案

尝试

com.steema.teechart.misc.MathUtils

这是我在

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

看起来您必须走第三方路线.如果您不喜欢它们.用于J2ME的Google第三方数学库.

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

它声明它仅适用于J2ME,因为J2ME没有常规的Math lib java.lang.Math

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

java开发人员习惯了.

java developers are use to.

这篇关于J2ME中Math.pow的最佳替代的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆