I found this line written in one of the solution I went through a solution
if((P>>=1))
{
//some call to a function was done here
}
I don't know meaning of this line, is it a check for even/odd, please explain and if possible mention any link where this bitwise operators tricks and tips are given??