Skip to content

Commit

Permalink
Merge pull request #22883 from charris/backport-22882
Browse files Browse the repository at this point in the history
MAINT: restore npymath implementations needed for freebsd
  • Loading branch information
charris committed Dec 25, 2022
2 parents 002c60d + bb00c68 commit 0f3484a
Show file tree
Hide file tree
Showing 3 changed files with 446 additions and 18 deletions.
4 changes: 3 additions & 1 deletion numpy/core/setup_common.py
Expand Up @@ -132,7 +132,6 @@ def set_sig(sig):
"rint", "trunc", "exp2",
"copysign", "nextafter", "strtoll", "strtoull", "cbrt",
"log2", "pow", "hypot", "atan2",
"csin", "csinh", "ccos", "ccosh", "ctan", "ctanh",
"creal", "cimag", "conj"
]

Expand All @@ -154,6 +153,9 @@ def set_sig(sig):
C99_COMPLEX_FUNCS = [
"cabs", "cacos", "cacosh", "carg", "casin", "casinh", "catan",
"catanh", "cexp", "clog", "cpow", "csqrt",
# The long double variants (like csinl) should be mandatory on C11,
# but are missing in FreeBSD. Issue gh-22850
"csin", "csinh", "ccos", "ccosh", "ctan", "ctanh",
]

OPTIONAL_HEADERS = [
Expand Down

0 comments on commit 0f3484a

Please sign in to comment.