summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/code_generators/generate_umath.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/code_generators/generate_umath.py b/numpy/core/code_generators/generate_umath.py
index be4fc934d..0d3bbffe9 100644
--- a/numpy/core/code_generators/generate_umath.py
+++ b/numpy/core/code_generators/generate_umath.py
@@ -779,7 +779,7 @@ defdict = {
None,
TD('e', f='ceil', astype={'e':'f'}),
TD(inexactvec, simd=[('fma', 'fd'), ('avx512f', 'fd')]),
- TD(flts, f='ceil', astype={'e':'f'}),
+ TD('fdg', f='ceil'),
TD(O, f='npy_ObjectCeil'),
),
'trunc':
@@ -788,7 +788,7 @@ defdict = {
None,
TD('e', f='trunc', astype={'e':'f'}),
TD(inexactvec, simd=[('fma', 'fd'), ('avx512f', 'fd')]),
- TD(flts, f='trunc', astype={'e':'f'}),
+ TD('fdg', f='trunc'),
TD(O, f='npy_ObjectTrunc'),
),
'fabs':
@@ -804,7 +804,7 @@ defdict = {
None,
TD('e', f='floor', astype={'e':'f'}),
TD(inexactvec, simd=[('fma', 'fd'), ('avx512f', 'fd')]),
- TD(flts, f='floor', astype={'e':'f'}),
+ TD('fdg', f='floor'),
TD(O, f='npy_ObjectFloor'),
),
'rint':
@@ -813,7 +813,7 @@ defdict = {
None,
TD('e', f='rint', astype={'e':'f'}),
TD(inexactvec, simd=[('fma', 'fd'), ('avx512f', 'fd')]),
- TD(inexact, f='rint', astype={'e':'f'}),
+ TD('fdg' + cmplx, f='rint'),
TD(P, f='rint'),
),
'arctan2':