Make RootOf() work with gmpy
Make RootOf() work with gmpy

Now it works with gmpy as well as Python ground types.

atreyv/sympy,lindsayad/sympy,amitjamadagni/sympy,bukzor/sympy,drufat/sympy,asm666/sympy,debugger22/sympy,maniteja123/sympy,atsao72/sympy,shipci/sympy,liangjiaxing/sympy,jerli/sympy,jbbskinny/sympy,souravsingh/sympy,drufat/sympy,postvakje/sympy,beni55/sympy,Titan-C/sympy,lindsayad/sympy,pandeyadarsh/sympy,skidzo/sympy,hrashk/sympy,mafiya69/sympy,kmacinnis/sympy,kaushik94/sympy,pandeyadarsh/sympy,meghana1995/sympy,Arafatk/sympy,beni55/sympy,kaushik94/sympy,jaimahajan1997/sympy,beni55/sympy,mcdaniel67/sympy,jbbskinny/sympy,oliverlee/sympy,yukoba/sympy,Mitchkoens/sympy,garvitr/sympy,cccfran/sympy,Davidjohnwilson/sympy,Davidjohnwilson/sympy,ga7g08/sympy,debugger22/sympy,hrashk/sympy,rahuldan/sympy,asm666/sympy,farhaanbukhsh/sympy,grevutiu-gabriel/sympy,atreyv/sympy,Arafatk/sympy,abhiii5459/sympy,ChristinaZografou/sympy,iamutkarshtiwari/sympy,AunShiLord/sympy,oliverlee/sympy,abhiii5459/sympy,mcdaniel67/sympy,postvakje/sympy,souravsingh/sympy,debugger22/sympy,maniteja123/sympy,jamesblunt/sympy,kaushik94/sympy,VaibhavAgarwalVA/sympy,drufat/sympy,ChristinaZografou/sympy,yashsharan/sympy,bukzor/sympy,saurabhjn76/sympy,wyom/sympy,jerli/sympy,jaimahajan1997/sympy,kaichogami/sympy,bukzor/sympy,rahuldan/sympy,AkademieOlympia/sympy,cswiercz/sympy,yukoba/sympy,Gadal/sympy,jerli/sympy,Sumith1896/sympy,kmacinnis/sympy,skidzo/sympy,wanglongqi/sympy,sahilshekhawat/sympy,jaimahajan1997/sympy,Vishluck/sympy,ahhda/sympy,dqnykamp/sympy,garvitr/sympy,pbrady/sympy,abhiii5459/sympy,ga7g08/sympy,cccfran/sympy,kevalds51/sympy,wanglongqi/sympy,moble/sympy,emon10005/sympy,maniteja123/sympy,hrashk/sympy,rahuldan/sympy,atsao72/sympy,amitjamadagni/sympy,oliverlee/sympy,kumarkrishna/sympy,aktech/sympy,sahmed95/sympy,Gadal/sympy,grevutiu-gabriel/sympy,VaibhavAgarwalVA/sympy,Designist/sympy,Sumith1896/sympy,jamesblunt/sympy,Vishluck/sympy,AunShiLord/sympy,kaichogami/sympy,sunny94/temp,sahmed95/sympy,MechCoder/sympy,AkademieOlympia/sympy,sahilshekhawat/sympy,asm666/sympy,MechCoder/sympy,pandeyadarsh/sympy,grevutiu-gabriel/sympy,vipulroxx/sympy,shikil/sympy,Designist/sympy,shipci/sympy,liangjiaxing/sympy,sahmed95/sympy,jbbskinny/sympy,jamesblunt/sympy,lidavidm/sympy,diofant/diofant,abloomston/sympy,ahhda/sympy,Titan-C/sympy,iamutkarshtiwari/sympy,abloomston/sympy,wyom/sympy,MridulS/sympy,saurabhjn76/sympy,yashsharan/sympy,wanglongqi/sympy,chaffra/sympy,farhaanbukhsh/sympy,madan96/sympy,Curious72/sympy,AkademieOlympia/sympy,vipulroxx/sympy,dqnykamp/sympy,chaffra/sympy,vipulroxx/sympy,Gadal/sympy,souravsingh/sympy,abloomston/sympy,lindsayad/sympy,Titan-C/sympy,yukoba/sympy,meghana1995/sympy,aktech/sympy,shikil/sympy,AunShiLord/sympy,sunny94/temp,Shaswat27/sympy,Mitchkoens/sympy,pbrady/sympy,sampadsaha5/sympy,lidavidm/sympy,toolforger/sympy,kmacinnis/sympy,Arafatk/sympy,mcdaniel67/sympy,emon10005/sympy,MridulS/sympy,farhaanbukhsh/sympy,shipci/sympy,ahhda/sympy,lidavidm/sympy,hargup/sympy,MechCoder/sympy,atsao72/sympy,mafiya69/sympy,madan96/sympy,kaichogami/sympy,hargup/sympy,Sumith1896/sympy,iamutkarshtiwari/sympy,emon10005/sympy,saurabhjn76/sympy,hargup/sympy,Curious72/sympy,skidzo/sympy,Curious72/sympy,meghana1995/sympy,MridulS/sympy,skirpichev/omg,toolforger/sympy,ChristinaZografou/sympy,ga7g08/sympy,kevalds51/sympy,sampadsaha5/sympy,dqnykamp/sympy,aktech/sympy,cccfran/sympy,cswiercz/sympy,kumarkrishna/sympy,VaibhavAgarwalVA/sympy,moble/sympy,Shaswat27/sympy,toolforger/sympy,yashsharan/sympy,moble/sympy,Davidjohnwilson/sympy,garvitr/sympy,madan96/sympy,atreyv/sympy,sahilshekhawat/sympy,kevalds51/sympy,pbrady/sympy,kumarkrishna/sympy,cswiercz/sympy,Shaswat27/sympy,wyom/sympy,sunny94/temp,Designist/sympy,sampadsaha5/sympy,mafiya69/sympy,postvakje/sympy,Vishluck/sympy,Mitchkoens/sympy,liangjiaxing/sympy,shikil/sympy,chaffra/sympy