Issue #3366: Add error function and complementary error function to
math module.
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 @@
       >>> expm1(1e-5)    # result accurate to full precision
       1.0000050000166668e-05
 
+   .. versionadded:: 2.7
+
 
 .. function:: log(x[, base])
 
@@ -325,6 +327,20 @@
 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*.