Sun的J2SE提供了一个单一的Java对数方法——double java.lang.Math.log(double),这很轻易使用。请看如下代码:. double x = Math.log(5);. 等价于:x = ln ...
確定! 回上一頁