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 belopolsky
Recipients belopolsky, docs@python
Date 2017-03-31.20:08:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490990917.06.0.404933995002.issue29956@psf.upfronthosting.co.za>
In-reply-to
Content
The math.exp(x) function is documented to "Return e**x" <https://docs.python.org/3/library/math.html#math.exp>.  This is misleading because even in the simplest case, math.exp(x) is not the same as math.e ** x:

>>> import math
>>> math.exp(2) - math.e ** 2
8.881784197001252e-16

I suggest using e<sup>x instead of e**x to distinguish between Python syntax and mathematical operation and change "Return e**x" to "Return e<sup>x, the base-e exponential of x."
History
Date User Action Args
2017-03-31 20:08:37belopolskysetrecipients: + belopolsky, docs@python
2017-03-31 20:08:37belopolskysetmessageid: <1490990917.06.0.404933995002.issue29956@psf.upfronthosting.co.za>
2017-03-31 20:08:37belopolskylinkissue29956 messages
2017-03-31 20:08:37belopolskycreate