summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-26 18:37:52 (GMT)
committerGeorg Brandl <georg@python.org>2016-02-26 18:37:52 (GMT)
commit3902d62c4e9810f1386090dd60b38f5aa6e99512 (patch)
treeb69ace11aa32fdc82e4b83b94c647e1d7673cd99 /Doc/library/math.rst
parent1a41c44af9e16363e3ae2fc8626d69fd240d35e8 (diff)
parent5d9413404017a829aa5ddb52be6019fb63ec5c09 (diff)
downloadcpython-3902d62c4e9810f1386090dd60b38f5aa6e99512.zip
cpython-3902d62c4e9810f1386090dd60b38f5aa6e99512.tar.gz
cpython-3902d62c4e9810f1386090dd60b38f5aa6e99512.tar.bz2
merge with 3.5
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r--Doc/library/math.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 244663e..80e65bb 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -97,7 +97,7 @@ Number-theoretic and representation functions
For further discussion and two alternative approaches, see the `ASPN cookbook
recipes for accurate floating point summation
- <http://code.activestate.com/recipes/393090/>`_\.
+ <https://code.activestate.com/recipes/393090/>`_\.
.. function:: gcd(a, b)
@@ -204,7 +204,7 @@ Power and logarithmic functions
Return ``e**x - 1``. For small floats *x*, the subtraction in ``exp(x) - 1``
can result in a `significant loss of precision
- <http://en.wikipedia.org/wiki/Loss_of_significance>`_\; the :func:`expm1`
+ <https://en.wikipedia.org/wiki/Loss_of_significance>`_\; the :func:`expm1`
function provides a way to compute this quantity to full precision::
>>> from math import exp, expm1
@@ -332,7 +332,7 @@ Angular conversion
Hyperbolic functions
--------------------
-`Hyperbolic functions <http://en.wikipedia.org/wiki/Hyperbolic_function>`_
+`Hyperbolic functions <https://en.wikipedia.org/wiki/Hyperbolic_function>`_
are analogs of trigonometric functions that are based on hyperbolas
instead of circles.
@@ -371,12 +371,12 @@ Special functions
.. function:: erf(x)
- Return the `error function <http://en.wikipedia.org/wiki/Error_function>`_ at
+ Return the `error function <https://en.wikipedia.org/wiki/Error_function>`_ at
*x*.
The :func:`erf` function can be used to compute traditional statistical
functions such as the `cumulative standard normal distribution
- <http://en.wikipedia.org/wiki/Normal_distribution#Cumulative_distribution_function>`_::
+ <https://en.wikipedia.org/wiki/Normal_distribution#Cumulative_distribution_function>`_::
def phi(x):
'Cumulative distribution function for the standard normal distribution'
@@ -388,17 +388,17 @@ Special functions
.. function:: erfc(x)
Return the complementary error function at *x*. The `complementary error
- function <http://en.wikipedia.org/wiki/Error_function>`_ is defined as
+ function <https://en.wikipedia.org/wiki/Error_function>`_ is defined as
``1.0 - erf(x)``. It is used for large values of *x* where a subtraction
from one would cause a `loss of significance
- <http://en.wikipedia.org/wiki/Loss_of_significance>`_\.
+ <https://en.wikipedia.org/wiki/Loss_of_significance>`_\.
.. versionadded:: 3.2
.. function:: gamma(x)
- Return the `Gamma function <http://en.wikipedia.org/wiki/Gamma_function>`_ at
+ Return the `Gamma function <https://en.wikipedia.org/wiki/Gamma_function>`_ at
*x*.
.. versionadded:: 3.2