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.' >>> |
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 |