summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-12-19 11:07:23 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-12-19 11:07:23 (GMT)
commit5ff37ae14b3b766e5194b02c661c0c16027dff9d (patch)
tree9a836e2ee9afa067dc7a5363375a44bf9f58d989 /Doc/library/math.rst
parent0c6a0e331846dc706c54029d1b72cc87e4c56d12 (diff)
downloadcpython-5ff37ae14b3b766e5194b02c661c0c16027dff9d.zip
cpython-5ff37ae14b3b766e5194b02c661c0c16027dff9d.tar.gz
cpython-5ff37ae14b3b766e5194b02c661c0c16027dff9d.tar.bz2
Issue #3366: Add error function and complementary error function to
math module.
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r--Doc/library/math.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 6471069..0857b7a 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -177,6 +177,8 @@ Power and logarithmic functions
>>> expm1(1e-5) # result accurate to full precision
1.0000050000166668e-05
+ .. versionadded:: 2.7
+
.. function:: log(x[, base])
@@ -325,6 +327,20 @@ Hyperbolic functions
Special functions
-----------------
+.. function:: erf(x)
+
+ Return the error function at *x*.
+
+ .. versionadded:: 2.7
+
+
+.. function:: erfc(x)
+
+ Return the complementary error function at *x*.
+
+ .. versionadded:: 2.7
+
+
.. function:: gamma(x)
Return the Gamma function at *x*.