STINNER Victor <victor.stin...@haypocalc.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11888>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to