close

ImageImage

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 serhiy.storchaka
Recipients mark.dickinson, rhettinger, serhiy.storchaka, stutzbach
Date 2017-11-08.20:17:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510172277.19.0.213398074469.issue31980@psf.upfronthosting.co.za>
In-reply-to
Content
Okay. I think that log(x, base) still will be monotonic, because log(x, nextafter(2, +INF)) <= log2(x) <= log(x, nextafter(2, -INF)).

I know about this limitation of prec_log(). It was just an example. Maybe  Tim know more robust and efficient algorithms.

Exposing exp2 in the math library would be less interesting, because we don't add errors in pow() and just call libm pow(). The latter can call exp2() internally if it provides more accuracy than exp(log(x)*y).
History
Date User Action Args
2017-11-08 20:17:57serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, mark.dickinson, stutzbach
2017-11-08 20:17:57serhiy.storchakasetmessageid: <1510172277.19.0.213398074469.issue31980@psf.upfronthosting.co.za>
2017-11-08 20:17:57serhiy.storchakalinkissue31980 messages
2017-11-08 20:17:57serhiy.storchakacreate