This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients jcea, mark.dickinson, rhettinger, vstinner
Date 2011-05-01.23:27:45
SpamBayes Score 0.00013186992
Marked as misclassified No
Message-id <1304292466.8.0.559536418539.issue11888@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-05-01 23:27:46vstinnersetrecipients: + vstinner, rhettinger, jcea, mark.dickinson
2011-05-01 23:27:46vstinnersetmessageid: <1304292466.8.0.559536418539.issue11888@psf.upfronthosting.co.za>
2011-05-01 23:27:45vstinnerlinkissue11888 messages
2011-05-01 23:27:45vstinnercreate