diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-07-27 14:45:11 -0700 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-07-28 13:58:39 -0700 |
commit | 9d4115e70cde40330e6a71d37227739b1318ca94 (patch) | |
tree | 3978d3662ba9c0cea7747625dad2138764f87019 /numpy/array_api/_elementwise_functions.py | |
parent | 2c1a34daa024398cdf9c6e1fbeff52b4eb280551 (diff) | |
download | numpy-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