shw1395
V2EX  ›  数学

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

  •  
  •   shw1395 · Dec 27, 2011 · 8187 views
    This topic created in 5253 days ago, the information mentioned may be changed or developed.
    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 replies    1970-01-01 08:00:00 +08:00
    CoX
        1
    CoX  
       Dec 27, 2011
    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  
       Dec 27, 2011
    log(2,1073741824)
    l (x) The natural logarithm of x. log函数(以2为底)
    http://blog.chinaunix.net/space.php?uid=23929712&do=blog&id=2650421
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1019 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 22:21 · PVG 06:21 · LAX 15:21 · JFK 18:21
    ♥ Do have faith in what you're doing.