summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorDima Pasechnik <dimpase@gmail.com>2019-02-26 06:36:11 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-02-26 06:36:11 (GMT)
commitf57cd8288dbe6aba99c057f37ad6d58f8db75350 (patch)
tree58efddbc033e9d4bc83eafc9198396dd63df6098 /Misc
parentff3d39faa8aa28308cc5eae6843eaac514da8fd8 (diff)
downloadcpython-f57cd8288dbe6aba99c057f37ad6d58f8db75350.zip
cpython-f57cd8288dbe6aba99c057f37ad6d58f8db75350.tar.gz
cpython-f57cd8288dbe6aba99c057f37ad6d58f8db75350.tar.bz2
bpo-36106: Resolve sinpi name clash with libm (IEEE-754 violation). (GH-12027)
The standard math library (libm) may follow IEEE-754 recommendation to include an implementation of sinPi(), i.e. sinPi(x):=sin(pi*x). And this triggers a name clash, found by FreeBSD developer Steve Kargl, who worken on putting sinpi into libm used on FreeBSD (it has to be named "sinpi", not "sinPi", cf. e.g. https://en.cppreference.com/w/c/experimental/fpext4).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-02-25-13-21-43.bpo-36106.VuhEiQ.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-02-25-13-21-43.bpo-36106.VuhEiQ.rst b/Misc/NEWS.d/next/Library/2019-02-25-13-21-43.bpo-36106.VuhEiQ.rst
new file mode 100644
index 0000000..36e1750
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-02-25-13-21-43.bpo-36106.VuhEiQ.rst
@@ -0,0 +1 @@
+Resolve potential name clash with libm's sinpi(). Patch by Dmitrii Pasechnik.