导航: 老古网老古论坛XMOS公共讨论区XMOS开源项目区单片机程序设计嵌入式系统广告区域
→晕。你看过帮助没?

* 87229: C中如何实现ln(x)?

   lenglianxi 
lenglianxi发表的帖子 

 晕。你看过帮助没?
log()是以e为底,
log10()是以10为底。

Description:
The log function calculates the natural logarithm for the floating-point number val. The natural logarithm uses the base e or 2.718282…[/QUOTE]
[QUOTE]Description:
The log10 function calculates the common logarithm for the floating-point number val. The common logarithm uses base 10.



发表时间:2005年12月23日10:58:35

  
回复该帖

本主题共有 4 帖,分页:>>>>>该主题的所有内容[4]条

 *树形目录 只列出部分跟帖的标题以及简单的摘要信息 该主题的部分跟帖如下:

[上一篇帖子]:重新全部编译下试试。[QUOTE]试过了,在文件前. 试过了,在文件前加了#pragma&
[下一篇帖子]:log(x)是以10为底的啊首先谢谢你! log(x)是以10为底的啊,我原先也这么想的,