@@ -42,15 +42,18 @@ Number-theoretic and representation functions
4242 *y *. On platforms that support signed zeros, ``copysign(1.0, -0.0) ``
4343 returns *-1.0 *.
4444
45+
4546.. function :: fabs(x)
4647
4748 Return the absolute value of *x *.
4849
50+
4951.. function :: factorial(x)
5052
5153 Return *x * factorial. Raises :exc: `ValueError ` if *x * is not integral or
5254 is negative.
5355
56+
5457.. function :: floor(x)
5558
5659 Return the floor of *x *, the largest integer less than or equal to *x *.
@@ -220,12 +223,15 @@ Power and logarithmic functions
220223
221224.. function :: exp(x)
222225
223- Return e raised to the power *x *, where e = 2.718281... is the base
224- of natural logarithms.
226+ Return *e * raised to the power *x *, where *e * = 2.718281... is the base
227+ of natural logarithms. This is usually more accurate than ``math.e ** x ``
228+ or ``pow(math.e, x) ``.
229+
225230
226231.. function :: expm1(x)
227232
228- Return ``e**x - 1 ``. For small floats *x *, the subtraction in ``exp(x) - 1 ``
233+ Return *e * raised to the power *x *, minus 1. Here *e * is the base of natural
234+ logarithms. For small floats *x *, the subtraction in ``exp(x) - 1 ``
229235 can result in a `significant loss of precision
230236 <https://en.wikipedia.org/wiki/Loss_of_significance> `_\; the :func: `expm1 `
231237 function provides a way to compute this quantity to full precision::
@@ -290,10 +296,10 @@ Power and logarithmic functions
290296
291297 Return the square root of *x *.
292298
299+
293300Trigonometric functions
294301-----------------------
295302
296-
297303.. function :: acos(x)
298304
299305 Return the arc cosine of *x *, in radians.
@@ -339,10 +345,10 @@ Trigonometric functions
339345
340346 Return the tangent of *x * radians.
341347
348+
342349Angular conversion
343350------------------
344351
345-
346352.. function :: degrees(x)
347353
348354 Convert angle *x * from radians to degrees.
@@ -352,6 +358,7 @@ Angular conversion
352358
353359 Convert angle *x * from degrees to radians.
354360
361+
355362Hyperbolic functions
356363--------------------
357364
@@ -440,23 +447,25 @@ Constants
440447
441448.. data :: pi
442449
443- The mathematical constant π = 3.141592..., to available precision.
450+ The mathematical constant * π * = 3.141592..., to available precision.
444451
445452
446453.. data :: e
447454
448- The mathematical constant e = 2.718281..., to available precision.
455+ The mathematical constant *e * = 2.718281..., to available precision.
456+
449457
450458.. data :: tau
451459
452- The mathematical constant τ = 6.283185..., to available precision.
453- Tau is a circle constant equal to 2π , the ratio of a circle's circumference to
460+ The mathematical constant * τ * = 6.283185..., to available precision.
461+ Tau is a circle constant equal to 2 \ * π * , the ratio of a circle's circumference to
454462 its radius. To learn more about Tau, check out Vi Hart's video `Pi is (still)
455463 Wrong <https://www.youtube.com/watch?v=jG7vhMMXagQ> `_, and start celebrating
456464 `Tau day <http://tauday.com/ >`_ by eating twice as much pie!
457465
458466 .. versionadded :: 3.6
459467
468+
460469.. data :: inf
461470
462471 A floating-point positive infinity. (For negative infinity, use
0 commit comments