summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-15 17:45:34 (GMT)
committerGitHub <noreply@github.com>2021-10-15 17:45:34 (GMT)
commit00ffc4513df7b89a168e88da4d1e3ac367f7682f (patch)
treee3b57e2fe5eab5bf559fe850a3a8ed070da2d3c0 /Misc
parent51f8196d05f0e271358eee0f90fe044b20449fb5 (diff)
downloadcpython-00ffc4513df7b89a168e88da4d1e3ac367f7682f.zip
cpython-00ffc4513df7b89a168e88da4d1e3ac367f7682f.tar.gz
cpython-00ffc4513df7b89a168e88da4d1e3ac367f7682f.tar.bz2
bpo-45440: Remove pymath.c fallbacks (GH-28977)
Remove fallbacks for missing round(), copysign() and hypot() in Python/pymath.c. Python now requires these functions to build. These fallbacks were needed on Visual Studio 2012 and older. They are no longer needed since Visual Stuido 2013. Python is now built with Visual Studio 2017 or newer since Python 3.6.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst b/Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst
index 1c7c413..93f7f31 100644
--- a/Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst
+++ b/Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst
@@ -1,2 +1,4 @@
Building Python now requires a C99 ``<math.h>`` header file providing
-``isinf()``, ``isnan()`` and ``isfinite()`` functions. Patch by Victor Stinner.
+the following functions: ``copysign()``, ``hypot()``, ``isfinite()``,
+``isinf()``, ``isnan()``, ``round()``.
+Patch by Victor Stinner.