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 mark.dickinson
Recipients mark.dickinson, rhettinger, serhiy.storchaka, stutzbach
Date 2017-11-08.21:20:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510176049.09.0.213398074469.issue31980@psf.upfronthosting.co.za>
In-reply-to
Content
> Exposing exp2 in the math library would be less interesting

I disagree: a libm exp2 is likely to be significantly accurate than pow(2.0, x). The latter is unlikely to be special-cased by the libm pow.

> The latter can call exp2() internally if it provides more accuracy than exp(log(x)*y).

It would be a very poor pow implementation that used exp(log(x)*y).
History
Date User Action Args
2017-11-08 21:20:49mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, stutzbach, serhiy.storchaka
2017-11-08 21:20:49mark.dickinsonsetmessageid: <1510176049.09.0.213398074469.issue31980@psf.upfronthosting.co.za>
2017-11-08 21:20:49mark.dickinsonlinkissue31980 messages
2017-11-08 21:20:49mark.dickinsoncreate