summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
authorGuido van Rossum <guido@dropbox.com>2016-08-15 16:12:52 (GMT)
committerGuido van Rossum <guido@dropbox.com>2016-08-15 16:12:52 (GMT)
commit0a891d70ded5fa8b1e6491529a3b531f521b5ae1 (patch)
treee26a1c826888bbd3c40b7775406062ab1b32cca5 /Doc/library/math.rst
parent6349612a8e5d5fcb3405e59242b6a2df3127585a (diff)
downloadcpython-0a891d70ded5fa8b1e6491529a3b531f521b5ae1.zip
cpython-0a891d70ded5fa8b1e6491529a3b531f521b5ae1.tar.gz
cpython-0a891d70ded5fa8b1e6491529a3b531f521b5ae1.tar.bz2
Issue #12345: Add mathemathcal constant tau to math and cmath.
Patch by Lisa Roach. See also PEP 628.
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r--Doc/library/math.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 3fdea18..32e1352 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -426,6 +426,13 @@ Constants
The mathematical constant e = 2.718281..., to available precision.
+.. data:: tau
+
+ The mathematical constant τ = 6.283185..., to available precision.
+ Tau is a circle constant equal to 2π, the ratio of a circle's circumference to
+ its radius. To learn more about Tau, check out Vi Hart's video `Pi is (still)
+ Wrong <https://www.youtube.com/watch?v=jG7vhMMXagQ>`_, and start celebrating
+ `Tau day <http://tauday.com/>`_ by eating twice as much pie!
.. data:: inf