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.19:17:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510168664.63.0.213398074469.issue31980@psf.upfronthosting.co.za>
In-reply-to
Content
I'd say not. If people want `log` base 2 or 10, they should use the appropriate functions.

One potential numeric issue here is maintaining monotonicity. If we swap out libm `log` calls for `log2` calls for some inputs, we not only make the code more complicated, but also risk breaking monotonicity.

So -1 from me on the special casing.

I'd be very happy with exposing exp2 in the math library, but that's a separate issue.
History
Date User Action Args
2017-11-08 19:17:44mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, stutzbach, serhiy.storchaka
2017-11-08 19:17:44mark.dickinsonsetmessageid: <1510168664.63.0.213398074469.issue31980@psf.upfronthosting.co.za>
2017-11-08 19:17:44mark.dickinsonlinkissue31980 messages
2017-11-08 19:17:44mark.dickinsoncreate