Skip to content

Commit dc714ed

Browse files
committed
BUG: Extend glibc complex trig functions blacklist to glibc < 2.18.
The library complex trig functions are inaccurate also in glibc versions 2.16 and 2.17, so extend the blacklist. Closes numpy#7517.
1 parent 537d35c commit dc714ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎numpy/core/src/private/npy_config.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
#include <features.h>
7676

7777
#if defined(__GLIBC__)
78-
#if !__GLIBC_PREREQ(2, 16)
78+
#if !__GLIBC_PREREQ(2, 18)
7979

8080
#undef HAVE_CASIN
8181
#undef HAVE_CASINF
@@ -96,7 +96,7 @@
9696
#undef HAVE_CACOSHF
9797
#undef HAVE_CACOSHL
9898

99-
#endif /* __GLIBC_PREREQ(2, 16) */
99+
#endif /* __GLIBC_PREREQ(2, 18) */
100100
#endif /* defined(__GLIBC_PREREQ) */
101101

102102
#endif /* defined(HAVE_FEATURES_H) */

0 commit comments

Comments
 (0)