Added functionality to Q.real and Q.imaginary and fixed issue:2324
Added functionality to Q.real and Q.imaginary and fixed issue:2324

>>> ask(Q.real(x**3),Q.imaginary(x)&Q.real(2))
False
>>> ask(Q.real(x**2),Q.imaginary(x)&Q.real(2))
True
>>> ask(Q.imaginary(x**3),Q.imaginary(x)&Q.real(2))
True
>>> ask(Q.imaginary(x**2),Q.imaginary(x)&Q.real(2))
False
>>> ask(Q.real(x**y),Q.imaginary(x)&Q.imaginary(y))
True
>>> ask(Q.real(x**3),Q.imaginary(x)&Q.real(3))
False
>>> ask(Q.imaginary(x**(3*y)),Q.imaginary(x)&Q.imaginary(y))
False
>>> ask(Q.imaginary((x*2)**(3*y)),Q.imaginary(x)&Q.imaginary(y))
False
>>> ask(Q.imaginary(x**y),Q.imaginary(x)&Q.imaginary(y))
False
>>> ask(Q.imaginary(I**y),True and Q.imaginary(y))
False

probably a fix to the issue:2324

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