?谁有实现 Log 函数的算法,比较急用!

山卜居士 2002-01-11 05:38:28
?谁有实现 Log 函数的算法,比较急用!
Thanks!
turbochen@163.com
...全文
93 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Soft21 2002-01-13
  • 打赏
  • 举报
回复
大家好啊,这个问题,不错!
l_fish 2002-01-11
  • 打赏
  • 举报
回复
那是数学问题.
山卜居士 2002-01-11
  • 打赏
  • 举报
回复
我要的是实现log算法过程
xmvigour 2002-01-11
  • 打赏
  • 举报
回复
Class Math:

log

public static double log(double a)


Returns the natural logarithm (base e) of a double value. Special cases:


· If the argument is NaN or less than zero, then the result is NaN.
· If the argument is positive infinity, then the result is positive infinity.
· If the argument is positive zero or negative zero, then the result is negative infinity.


A result must be within 1 ulp of the correctly rounded result. Results must be semi-monotonic.

Parameters:

a - a number greater than 0.0.

Returns:

the value ln a, the natural logarithm of a.

23,407

社区成员

发帖
与我相关
我的任务
社区描述
Java 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧