]> granicus.if.org Git - python/commitdiff
Issue #26114: Remove mention of 'Numerical Recipes'.
authorBrett Cannon <brett@python.org>
Fri, 15 Jan 2016 17:41:49 +0000 (09:41 -0800)
committerBrett Cannon <brett@python.org>
Fri, 15 Jan 2016 17:41:49 +0000 (09:41 -0800)
Modules/mathmodule.c

index 670e52ddb7702217f134c618c4f652dc5d3e878f..01ed36b2137d0f2fea6c09291a72fc89d9be69b9 100644 (file)
@@ -379,9 +379,8 @@ m_lgamma(double x)
    Implementations of the error function erf(x) and the complementary error
    function erfc(x).
 
-   Method: following 'Numerical Recipes' by Flannery, Press et. al. (2nd ed.,
-   Cambridge University Press), we use a series approximation for erf for
-   small x, and a continued fraction approximation for erfc(x) for larger x;
+   Method: we use a series approximation for erf for small x, and a continued
+   fraction approximation for erfc(x) for larger x;
    combined with the relations erf(-x) = -erf(x) and erfc(x) = 1.0 - erf(x),
    this gives us erf(x) and erfc(x) for all x.