-
Notifications
You must be signed in to change notification settings - Fork 53
Indicate that abs() of the minimum integer value for signed dtypes is undefined #250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Should we add the same note for I noticed that NumPy uses |
I am assuming for now that negative() is not defined for the smallest representable negative integer for signed integer dtypes (see data-apis/array-api#250).
Seems reasonable to me. |
"smallest" is ambiguous, as could mean `0` or the minimum value (e.g., `-128` for `int8`).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I'll make a separate PR for |
I am assuming for now that negative() is not defined for the smallest representable negative integer for signed integer dtypes (see data-apis/array-api#250).
No description provided.