#define MYCONSTANT -( ((MYID + 1) << 5 ) + 1 )

What is the purpose of the minus behind the brackets?

What is actually going on the red?