[issue17958] int(math.log(2**i, 2))

Alex Rhatushnyak report at bugs.python.org
Sun May 12 07:36:48 CEST 2013


New submission from Alex Rhatushnyak:

In Python 2.7.4:

import math
for i in range(40, 55):  print int(math.log(2**i, 2)),

output:

40 41 42 43 44 45 46 46 48 49 49 50 52 53 53

----------
messages: 188976
nosy: Alex.Rhatushnyak
priority: normal
severity: normal
status: open
title: int(math.log(2**i, 2))
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17958>
_______________________________________


More information about the Python-bugs-list mailing list