Message134946
Oh... math.log() has an optional second argument: base. math.log(x, 2). But it is equivalent as math.log(x) / math.log(2) in Python. math.log(x, 2) is implemented as:
num=math.log(x)
den=math.log(2)
return num / den
where num and den are Python floats (64 bits).
So we don't benefit from 80 bits float used internally in x87. |
|
Date |
User |
Action |
Args |
2011-05-01 23:27:46 | vstinner | set | recipients:
+ vstinner, rhettinger, jcea, mark.dickinson |
2011-05-01 23:27:46 | vstinner | set | messageid: <1304292466.8.0.559536418539.issue11888@psf.upfronthosting.co.za> |
2011-05-01 23:27:45 | vstinner | link | issue11888 messages |
2011-05-01 23:27:45 | vstinner | create | |
|