summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-07-27 14:45:11 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2021-07-28 13:58:39 -0700
commit9d4115e70cde40330e6a71d37227739b1318ca94 (patch)
tree3978d3662ba9c0cea7747625dad2138764f87019 /numpy/array_api/_elementwise_functions.py
parent2c1a34daa024398cdf9c6e1fbeff52b4eb280551 (diff)
downloadnumpy-9d4115e70cde40330e6a71d37227739b1318ca94.tar.gz
TST: Add basic tests for custom DType (scaled float) ufuncs
This does not actually test a lot of new paths, since the normal ufuncs do cover most of the typical paths. One thing it does test is that the ufunc implementation (as in ArrayMethod) can customize the cast-safety. This is used here since the parametric DType considers different scalings as same-kind casts and not safe/equiv casts.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions