2^30=1073741824, how to type 1073741824?2 will got the number 30.

2011-12-27 00:08:02 +08:00
 shw1395
I use bc command line, please don't reply what ? it is as far as possible, and give me a link in google or baidu etc, 'coz I wanna know how to searching for math web page or special symbol. thanks.

PS. Post in english because fcitx crash in chromium, terminal and text editor but firefox :(
6693 次点击
所在节点    数学
2 条回复
CoX
2011-12-27 00:18:37 +08:00
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>> math.log.__doc__
'log(x[, base])\n\nReturn the logarithm of x to the given base.\nIf the base not
specified, returns the natural logarithm (base e) of x.'
>>>
delectate
2011-12-27 00:24:13 +08:00
log(2,1073741824)
l (x) The natural logarithm of x. log函数(以2为底)
http://blog.chinaunix.net/space.php?uid=23929712&do=blog&id=2650421

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/24408

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX