diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-12-19 11:20:49 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-12-19 11:20:49 (GMT) |
commit | 45f992a45e54330335417f1368f7fc7c920737c6 (patch) | |
tree | b1568e3c8d8ff63614c0f87edf30e328e1170166 /Doc | |
parent | 056aafe7f242058c767b5a2c8a8971ea31edfa8e (diff) | |
download | cpython-45f992a45e54330335417f1368f7fc7c920737c6.zip cpython-45f992a45e54330335417f1368f7fc7c920737c6.tar.gz cpython-45f992a45e54330335417f1368f7fc7c920737c6.tar.bz2 |
Merged revisions 76878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76878 | mark.dickinson | 2009-12-19 11:07:23 +0000 (Sat, 19 Dec 2009) | 3 lines
Issue #3366: Add error function and complementary error function to
math module.
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/math.rst | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 39aea29..fce4d49 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -161,6 +161,8 @@ Power and logarithmic functions >>> expm1(1e-5) # result accurate to full precision 1.0000050000166668e-05 + .. versionadded:: 3.2 + .. function:: log(x[, base]) @@ -295,6 +297,20 @@ Hyperbolic functions Special functions ----------------- +.. function:: erf(x) + + Return the error function at *x*. + + .. versionadded:: 3.2 + + +.. function:: erfc(x) + + Return the complementary error function at *x*. + + .. versionadded:: 3.2 + + .. function:: gamma(x) Return the Gamma function at *x*. @@ -307,7 +323,7 @@ Special functions Return the natural logarithm of the absolute value of the Gamma function at *x*. - .. versionadded:: 2.7 + .. versionadded:: 3.2 Constants |