diff options
author | Aaron Meurer <asmeurer@gmail.com> | 2021-07-21 15:45:36 -0600 |
---|---|---|
committer | Aaron Meurer <asmeurer@gmail.com> | 2021-07-21 15:45:36 -0600 |
commit | 4fd028ddf76d37e869bbde024cc1dc1456c7fb6f (patch) | |
tree | 0f99d02d9fe48282c14a00bdc6868d5ee9165947 /numpy/array_api/_manipulation_functions.py | |
parent | f74b35996a15637cec567e0dffdacf7f3c24c7f5 (diff) | |
download | numpy-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