You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Divide functions have ambiguous specification for integer inputs #361
divide() (and __truediv__/__itruediv__) allows x1 and x2 to be integer arrays, but the ouput is specified as a floating array determined by type promotion, which int types can't promote to.
The spec should either clarify behaviour for both mixed int/float array and two int array scenarios, or note they are out-of-scope similiar to pow().
changed the title [-]Divide functions have ambiguous behaviour for integer inputs[/-][+]Divide functions have ambiguous specification for integer inputs[/+]on Jan 7, 2022
Activity
[-]Divide functions have ambiguous behaviour for integer inputs[/-][+]Divide functions have ambiguous specification for integer inputs[/+]kgryte commentedon Jan 7, 2022
The spec can be updated with a note similar to
pow. Feel free to submit a PR with the proposed changes.