summaryrefslogtreecommitdiff
path: root/numpy/array_api/_manipulation_functions.py
diff options
context:
space:
mode:
authorAaron Meurer <asmeurer@gmail.com>2021-07-21 15:45:36 -0600
committerAaron Meurer <asmeurer@gmail.com>2021-07-21 15:45:36 -0600
commit4fd028ddf76d37e869bbde024cc1dc1456c7fb6f (patch)
tree0f99d02d9fe48282c14a00bdc6868d5ee9165947 /numpy/array_api/_manipulation_functions.py
parentf74b35996a15637cec567e0dffdacf7f3c24c7f5 (diff)
downloadnumpy-4fd028ddf76d37e869bbde024cc1dc1456c7fb6f.tar.gz
Implement the array API result_type() manually
np.result_type() has too many behaviors that we want to avoid in the array API namespace, like value-based casting and unwanted type promotions. Instead, we implement the exact type promotion table from the spec.
Diffstat (limited to 'numpy/array_api/_manipulation_functions.py')
0 files changed, 0 insertions, 0 deletions