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 gvanrossum
Recipients Camion, gvanrossum, rhettinger, tim.peters
Date 2021-01-11.03:33:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610336015.63.0.763238776883.issue42886@roundup.psfhosted.org>
In-reply-to
Content
The problem with that formulation of the feature request is that it would require the math.log function to recognize rationals, or at least the Fraction type. Since the numeric tower and the fractions module are implemented in pure Python that would be somewhat problematic.

I think people who work a lot with fractions and want to compute their logarithm just need to use the formula that the OP gave.
History
Date User Action Args
2021-01-11 03:33:35gvanrossumsetrecipients: + gvanrossum, tim.peters, rhettinger, Camion
2021-01-11 03:33:35gvanrossumsetmessageid: <1610336015.63.0.763238776883.issue42886@roundup.psfhosted.org>
2021-01-11 03:33:35gvanrossumlinkissue42886 messages
2021-01-11 03:33:35gvanrossumcreate