summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorMeekail Zain <34613774+Micky774@users.noreply.github.com>2022-06-18 08:49:02 -0400
committerGitHub <noreply@github.com>2022-06-18 05:49:02 -0700
commitd592523b5a7482e3486fc1bb694b9c570be30365 (patch)
tree3b275568fd2e84592d70107cf994a4261b195813 /numpy/array_api/_array_object.py
parent1a424bcbcf443a02a10560f28cdd9d27239810ee (diff)
downloadnumpy-d592523b5a7482e3486fc1bb694b9c570be30365.tar.gz
ENH: add overflow handling for scalar `negative` operation (#21790)
Related Issues/PRs Follow-up to #21648 Changes Adds check to scalar negative for determining whether an overflow warning should be raised for signed integers. Improves testing for negative operator on unsigned integers.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions