Skip to content

Commit

Permalink
BUG: Extend glibc complex trig functions blacklist to glibc < 2.18.
Browse files Browse the repository at this point in the history
The library complex trig functions are inaccurate also in glibc
versions 2.16 and 2.17, so extend the blacklist.

Closes #7517.
  • Loading branch information
nforro committed Apr 6, 2016
1 parent 537d35c commit dc714ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numpy/core/src/private/npy_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
#include <features.h>

#if defined(__GLIBC__)
#if !__GLIBC_PREREQ(2, 16)
#if !__GLIBC_PREREQ(2, 18)

#undef HAVE_CASIN
#undef HAVE_CASINF
Expand All @@ -96,7 +96,7 @@
#undef HAVE_CACOSHF
#undef HAVE_CACOSHL

#endif /* __GLIBC_PREREQ(2, 16) */
#endif /* __GLIBC_PREREQ(2, 18) */
#endif /* defined(__GLIBC_PREREQ) */

#endif /* defined(HAVE_FEATURES_H) */
Expand Down

0 comments on commit dc714ed

Please sign in to comment.