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 rhettinger
Recipients docs@python, mark.dickinson, rhettinger, tim.peters
Date 2019-06-30.22:19:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561933178.32.0.315765765879.issue37454@roundup.psfhosted.org>
In-reply-to
Content
Currently the docs say, "The result is calculated in a way which is accurate for x near zero."

That is somewhat vague.  Some quick tests show that it is often more accurate than log() for the whole range of 0.0 < x < 1.0; however, for x < 0.0 it is always worse.

Since the function is just a pass-through to the C library, we probably can't make any guarantees.  On the other hand, it is hard to know when this function is preferred without some guidance.
History
Date User Action Args
2019-06-30 22:19:38rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, docs@python
2019-06-30 22:19:38rhettingersetmessageid: <1561933178.32.0.315765765879.issue37454@roundup.psfhosted.org>
2019-06-30 22:19:38rhettingerlinkissue37454 messages
2019-06-30 22:19:37rhettingercreate