We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 704ca94 commit b6d52fcCopy full SHA for b6d52fc
numpy/core/setup_common.py
@@ -127,13 +127,9 @@ def set_sig(sig):
127
"expm1", "log1p", "acosh", "asinh", "atanh",
128
"rint", "trunc", "exp2",
129
"copysign", "nextafter", "strtoll", "strtoull", "cbrt",
130
- # C99, mandatory
131
- "sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs", "floor", "ceil",
132
- "rint", "trunc", "sqrt", "log10", "log", "log1p", "exp", "expm1",
133
- "asin", "acos", "atan", "asinh", "acosh", "atanh",
134
]
135
136
-OPTIONAL_STDFUNCS = [
+OPTIONAL_STDFUNCS_BASE = [
137
# cygwin
138
"log2",
139
# macos for powl
@@ -144,6 +140,10 @@ def set_sig(sig):
144
140
"atan2",
145
141
146
142
143
+OPTIONAL_STDFUNCS = OPTIONAL_STDFUNCS_BASE[:]
+OPTIONAL_STDFUNCS += [f + 'f' for f in OPTIONAL_STDFUNCS_BASE]
+OPTIONAL_STDFUNCS += [f + 'l' for f in OPTIONAL_STDFUNCS_BASE]
+
147
OPTIONAL_LOCALE_FUNCS = ["strtold_l"]
148
OPTIONAL_FILE_FUNCS = ["ftello", "fseeko", "fallocate"]
149
OPTIONAL_MISC_FUNCS = ["backtrace", "madvise"]
0 commit comments