diff options
author | Guido van Rossum <guido@dropbox.com> | 2016-08-15 16:12:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@dropbox.com> | 2016-08-15 16:12:52 (GMT) |
commit | 0a891d70ded5fa8b1e6491529a3b531f521b5ae1 (patch) | |
tree | e26a1c826888bbd3c40b7775406062ab1b32cca5 /Doc/library/cmath.rst | |
parent | 6349612a8e5d5fcb3405e59242b6a2df3127585a (diff) | |
download | cpython-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/cmath.rst')
-rw-r--r-- | Doc/library/cmath.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/cmath.rst b/Doc/library/cmath.rst index 62ddb6b..f04f8d0 100644 --- a/Doc/library/cmath.rst +++ b/Doc/library/cmath.rst @@ -253,6 +253,10 @@ Constants The mathematical constant *e*, as a float. +.. data:: tau + + The mathematical constant *τ*, as a float. + .. index:: module: math Note that the selection of functions is similar, but not identical, to that in @@ -276,5 +280,3 @@ cuts for numerical purposes, a good reference should be the following: Kahan, W: Branch cuts for complex elementary functions; or, Much ado about nothing's sign bit. In Iserles, A., and Powell, M. (eds.), The state of the art in numerical analysis. Clarendon Press (1987) pp165-211. - - |