commit | f57cd8288dbe6aba99c057f37ad6d58f8db75350 | [log] [tgz] |
---|---|---|
author | Dima Pasechnik <dimpase@gmail.com> | Tue Feb 26 06:36:11 2019 +0000 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Tue Feb 26 08:36:11 2019 +0200 |
tree | 58efddbc033e9d4bc83eafc9198396dd63df6098 | |
parent | ff3d39faa8aa28308cc5eae6843eaac514da8fd8 [diff] |
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).