]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-36106: resolve sinpi name clash with libm (IEEE-754 violation). (GH-12027...
authorDima Pasechnik <dimpase@gmail.com>
Tue, 26 Feb 2019 10:41:15 +0000 (10:41 +0000)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 26 Feb 2019 10:41:15 +0000 (12:41 +0200)
commitb545ba0a508a5980ab147ed2641a42be3b31a2db
treee051fdd189d889a9d8696f30c47ef8ccb921b50b
parentaf83770c3ad165232218aedd48dcdef34962e749
[2.7] bpo-36106: resolve sinpi name clash with libm (IEEE-754 violation). (GH-12027) (GH-12050)

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 worked 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).
Misc/NEWS.d/next/Library/2019-02-25-13-21-43.bpo-36106.VuhEiQ.rst [new file with mode: 0644]
Modules/mathmodule.c