diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-12-19 11:07:23 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-12-19 11:07:23 (GMT) |
commit | 5ff37ae14b3b766e5194b02c661c0c16027dff9d (patch) | |
tree | 9a836e2ee9afa067dc7a5363375a44bf9f58d989 /Doc/library/math.rst | |
parent | 0c6a0e331846dc706c54029d1b72cc87e4c56d12 (diff) | |
download | cpython-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.rst | 16 |
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*. |