Sun的J2SE提供了一個計算自然對數方法——double java.lang.Math.log(double)。 請看如下代碼: double x = Math.log(5);
tc.wangchao.net.cn