Sun的J2SE提供了一个计算自然对数方法——double java.lang.Math.log(double)。请看如下代码: double x = Math.log(5); 等价于下面的数学方程: x = ln ...
確定! 回上一頁