Skip to content

Commit 0f3484a

Browse files
authored
Merge pull request #22883 from charris/backport-22882
MAINT: restore npymath implementations needed for freebsd
2 parents 002c60d + bb00c68 commit 0f3484a

3 files changed

Lines changed: 446 additions & 18 deletions

File tree

‎numpy/core/setup_common.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def set_sig(sig):
132132
"rint", "trunc", "exp2",
133133
"copysign", "nextafter", "strtoll", "strtoull", "cbrt",
134134
"log2", "pow", "hypot", "atan2",
135-
"csin", "csinh", "ccos", "ccosh", "ctan", "ctanh",
136135
"creal", "cimag", "conj"
137136
]
138137

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

159161
OPTIONAL_HEADERS = [

0 commit comments

Comments
 (0)