Restore invariant of (x == (x/y)*y + (x%y)) by making integer division with mixed-sign operands match Python.
Restore invariant of (x == (x/y)*y + (x%y)) by making integer division with mixed-sign operands match Python.

madphysicist/numpy,tynn/numpy,stefanv/numpy,ChristopherHogan/numpy,charris/numpy,dwillmer/numpy,jonathanunderwood/numpy,rudimeier/numpy,astrofrog/numpy,stuarteberg/numpy,stuarteberg/numpy,skwbc/numpy,skymanaditya1/numpy,NextThought/pypy-numpy,cjermain/numpy,has2k1/numpy,WarrenWeckesser/numpy,jschueller/numpy,felipebetancur/numpy,madphysicist/numpy,sinhrks/numpy,solarjoe/numpy,SiccarPoint/numpy,joferkington/numpy,pbrod/numpy,numpy/numpy,immerrr/numpy,rajathkumarmp/numpy,ewmoore/numpy,GrimDerp/numpy,mortada/numpy,MSeifert04/numpy,rgommers/numpy,tacaswell/numpy,ogrisel/numpy,Yusa95/numpy,utke1/numpy,has2k1/numpy,empeeu/numpy,Anwesh43/numpy,embray/numpy,BabeNovelty/numpy,embray/numpy,ddasilva/numpy,jorisvandenbossche/numpy,pdebuyl/numpy,kirillzhuravlev/numpy,behzadnouri/numpy,andsor/numpy,naritta/numpy,WarrenWeckesser/numpy,bmorris3/numpy,matthew-brett/numpy,GaZ3ll3/numpy,rgommers/numpy,Linkid/numpy,trankmichael/numpy,WillieMaddox/numpy,mingwpy/numpy,Dapid/numpy,dch312/numpy,mindw/numpy,NextThought/pypy-numpy,sinhrks/numpy,BabeNovelty/numpy,chiffa/numpy,cowlicks/numpy,rmcgibbo/numpy,matthew-brett/numpy,stuarteberg/numpy,BMJHayward/numpy,CMartelLML/numpy,larsmans/numpy,CMartelLML/numpy,ChristopherHogan/numpy,seberg/numpy,SiccarPoint/numpy,njase/numpy,njase/numpy,bringingheavendown/numpy,MichaelAquilina/numpy,pbrod/numpy,cjermain/numpy,ESSS/numpy,MSeifert04/numpy,pdebuyl/numpy,felipebetancur/numpy,pizzathief/numpy,dwf/numpy,AustereCuriosity/numpy,matthew-brett/numpy,pyparallel/numpy,simongibbons/numpy,SunghanKim/numpy,mattip/numpy,njase/numpy,nbeaver/numpy,b-carter/numpy,dato-code/numpy,jorisvandenbossche/numpy,GrimDerp/numpy,groutr/numpy,musically-ut/numpy,rudimeier/numpy,jonathanunderwood/numpy,rhythmsosad/numpy,embray/numpy,CMartelLML/numpy,skwbc/numpy,trankmichael/numpy,andsor/numpy,githubmlai/numpy,AustereCuriosity/numpy,dwf/numpy,githubmlai/numpy,MaPePeR/numpy,chatcannon/numpy,bertrand-l/numpy,anntzer/numpy,pelson/numpy,gmcastil/numpy,BMJHayward/numpy,Srisai85/numpy,ahaldane/numpy,SiccarPoint/numpy,jakirkham/numpy,ChristopherHogan/numpy,embray/numpy,ChanderG/numpy,sinhrks/numpy,NextThought/pypy-numpy,shoyer/numpy,ajdawson/numpy,ewmoore/numpy,dch312/numpy,dwf/numpy,tdsmith/numpy,ssanderson/numpy,ajdawson/numpy,sinhrks/numpy,Linkid/numpy,dimasad/numpy,shoyer/numpy,bringingheavendown/numpy,mhvk/numpy,nguyentu1602/numpy,kirillzhuravlev/numpy,maniteja123/numpy,GrimDerp/numpy,MSeifert04/numpy,sonnyhu/numpy,skymanaditya1/numpy,mingwpy/numpy,ContinuumIO/numpy,madphysicist/numpy,GaZ3ll3/numpy,Dapid/numpy,musically-ut/numpy,chiffa/numpy,ESSS/numpy,moreati/numpy,anntzer/numpy,brandon-rhodes/numpy,mindw/numpy,solarjoe/numpy,KaelChen/numpy,KaelChen/numpy,empeeu/numpy,pelson/numpy,pbrod/numpy,rherault-insa/numpy,pbrod/numpy,shoyer/numpy,stuarteberg/numpy,grlee77/numpy,mathdd/numpy,brandon-rhodes/numpy,WarrenWeckesser/numpy,MichaelAquilina/numpy,ChanderG/numpy,chatcannon/numpy,Eric89GXL/numpy,gfyoung/numpy,simongibbons/numpy,yiakwy/numpy,mindw/numpy,Yusa95/numpy,musically-ut/numpy,ahaldane/numpy,mortada/numpy,jonathanunderwood/numpy,rajathkumarmp/numpy,rmcgibbo/numpy,madphysicist/numpy,cowlicks/numpy,sigma-random/numpy,numpy/numpy-refactor,bringingheavendown/numpy,githubmlai/numpy,b-carter/numpy,shoyer/numpy,embray/numpy,githubmlai/numpy,anntzer/numpy,rudimeier/numpy,pizzathief/numpy,rherault-insa/numpy,dato-code/numpy,sonnyhu/numpy,leifdenby/numpy,grlee77/numpy,has2k1/numpy,numpy/numpy-refactor,ContinuumIO/numpy,dch312/numpy,ViralLeadership/numpy,leifdenby/numpy,maniteja123/numpy,pelson/numpy,seberg/numpy,madphysicist/numpy,MaPePeR/numpy,chiffa/numpy,AustereCuriosity/numpy,MichaelAquilina/numpy,nguyentu1602/numpy,SunghanKim/numpy,abalkin/numpy,rgommers/numpy,ChristopherHogan/numpy,dch312/numpy,mhvk/numpy,dwillmer/numpy,astrofrog/numpy,joferkington/numpy,kirillzhuravlev/numpy,pizzathief/numpy,cjermain/numpy,joferkington/numpy,pbrod/numpy,behzadnouri/numpy,rmcgibbo/numpy,ssanderson/numpy,matthew-brett/numpy,numpy/numpy-refactor,ogrisel/numpy,dwillmer/numpy,yiakwy/numpy,sonnyhu/numpy,ahaldane/numpy,pdebuyl/numpy,grlee77/numpy,jankoslavic/numpy,rmcgibbo/numpy,brandon-rhodes/numpy,dato-code/numpy,jorisvandenbossche/numpy,pizzathief/numpy,rajathkumarmp/numpy,mattip/numpy,brandon-rhodes/numpy,dimasad/numpy,mwiebe/numpy,mingwpy/numpy,MSeifert04/numpy,nbeaver/numpy,rhythmsosad/numpy,Anwesh43/numpy,tdsmith/numpy,hainm/numpy,Eric89GXL/numpy,maniteja123/numpy,groutr/numpy,stefanv/numpy,tacaswell/numpy,gmcastil/numpy,tdsmith/numpy,stefanv/numpy,MSeifert04/numpy,naritta/numpy,seberg/numpy,ogrisel/numpy,NextThought/pypy-numpy,pelson/numpy,andsor/numpy,bmorris3/numpy,bmorris3/numpy,charris/numpy,moreati/numpy,dimasad/numpy,abalkin/numpy,ContinuumIO/numpy,chatcannon/numpy,WarrenWeckesser/numpy,ekalosak/numpy,numpy/numpy,dwf/numpy,trankmichael/numpy,felipebetancur/numpy,naritta/numpy,GrimDerp/numpy,drasmuss/numpy,argriffing/numpy,endolith/numpy,ekalosak/numpy,jankoslavic/numpy,Linkid/numpy,stefanv/numpy,ViralLeadership/numpy,seberg/numpy,Dapid/numpy,simongibbons/numpy,mattip/numpy,dato-code/numpy,shoyer/numpy,GaZ3ll3/numpy,empeeu/numpy,ESSS/numpy,Srisai85/numpy,nguyentu1602/numpy,dwf/numpy,rajathkumarmp/numpy,naritta/numpy,grlee77/numpy,grlee77/numpy,Yusa95/numpy,MaPePeR/numpy,mortada/numpy,Eric89GXL/numpy,jakirkham/numpy,trankmichael/numpy,argriffing/numpy,gfyoung/numpy,charris/numpy,yiakwy/numpy,tacaswell/numpy,ekalosak/numpy,gmcastil/numpy,yiakwy/numpy,Srisai85/numpy,solarjoe/numpy,ahaldane/numpy,astrofrog/numpy,tynn/numpy,ChanderG/numpy,cjermain/numpy,pizzathief/numpy,Anwesh43/numpy,sonnyhu/numpy,kirillzhuravlev/numpy,ewmoore/numpy,larsmans/numpy,WarrenWeckesser/numpy,mathdd/numpy,sigma-random/numpy,ChanderG/numpy,dimasad/numpy,cowlicks/numpy,charris/numpy,mathdd/numpy,ewmoore/numpy,musically-ut/numpy,anntzer/numpy,BMJHayward/numpy,ewmoore/numpy,immerrr/numpy,MichaelAquilina/numpy,kiwifb/numpy,jankoslavic/numpy,ekalosak/numpy,utke1/numpy,rhythmsosad/numpy,kiwifb/numpy,jschueller/numpy,numpy/numpy-refactor,jakirkham/numpy,cowlicks/numpy,abalkin/numpy,nguyentu1602/numpy,hainm/numpy,stefanv/numpy,KaelChen/numpy,rgommers/numpy,tdsmith/numpy,jakirkham/numpy,drasmuss/numpy,astrofrog/numpy,mwiebe/numpy,mattip/numpy,matthew-brett/numpy,larsmans/numpy,WillieMaddox/numpy,mhvk/numpy,b-carter/numpy,ahaldane/numpy,simongibbons/numpy,sigma-random/numpy,BMJHayward/numpy,BabeNovelty/numpy,immerrr/numpy,kiwifb/numpy,CMartelLML/numpy,numpy/numpy-refactor,moreati/numpy,pelson/numpy,immerrr/numpy,felipebetancur/numpy,drasmuss/numpy,mhvk/numpy,ajdawson/numpy,larsmans/numpy,bertrand-l/numpy,rudimeier/numpy,joferkington/numpy,endolith/numpy,behzadnouri/numpy,ogrisel/numpy,numpy/numpy,jankoslavic/numpy,gfyoung/numpy,WillieMaddox/numpy,tynn/numpy,leifdenby/numpy,ssanderson/numpy,rhythmsosad/numpy,BabeNovelty/numpy,nbeaver/numpy,sigma-random/numpy,dwillmer/numpy,KaelChen/numpy,Linkid/numpy,simongibbons/numpy,SunghanKim/numpy,Srisai85/numpy,jorisvandenbossche/numpy,mingwpy/numpy,pyparallel/numpy,ViralLeadership/numpy,pyparallel/numpy,groutr/numpy,skwbc/numpy,jschueller/numpy,hainm/numpy,skymanaditya1/numpy,mhvk/numpy,endolith/numpy,SiccarPoint/numpy,MaPePeR/numpy,argriffing/numpy,andsor/numpy,hainm/numpy,numpy/numpy,utke1/numpy,ajdawson/numpy,ddasilva/numpy,ogrisel/numpy,GaZ3ll3/numpy,astrofrog/numpy,bertrand-l/numpy,jakirkham/numpy,mortada/numpy,jorisvandenbossche/numpy,mindw/numpy,jschueller/numpy,mwiebe/numpy,ddasilva/numpy,mathdd/numpy,Eric89GXL/numpy,has2k1/numpy,skymanaditya1/numpy,rherault-insa/numpy,pdebuyl/numpy,Anwesh43/numpy,empeeu/numpy,endolith/numpy,SunghanKim/numpy,Yusa95/numpy,bmorris3/numpy