]> granicus.if.org Git - python/commit
bpo-36106: Resolve sinpi name clash with libm (IEEE-754 violation). (GH-12027)
authorDima Pasechnik <dimpase@gmail.com>
Tue, 26 Feb 2019 06:36:11 +0000 (06:36 +0000)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 26 Feb 2019 06:36:11 +0000 (08:36 +0200)
commitf57cd8288dbe6aba99c057f37ad6d58f8db75350
tree58efddbc033e9d4bc83eafc9198396dd63df6098
parentff3d39faa8aa28308cc5eae6843eaac514da8fd8
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).
Misc/NEWS.d/next/Library/2019-02-25-13-21-43.bpo-36106.VuhEiQ.rst [new file with mode: 0644]
Modules/mathmodule.c