V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
shw1395
V2EX  ›  数学

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

  •  
  •   shw1395 · 2011-12-27 00:08:02 +08:00 · 6940 次点击
    这是一个创建于 4717 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 :(
    2 条回复    1970-01-01 08:00:00 +08:00
    CoX
        1
    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
        2
    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
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1677 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 16:34 · PVG 00:34 · LAX 08:34 · JFK 11:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.