If I have
FLAG_VAL = 1 << 6; //(or 64),
how can I get back the exponent (6 in this case) later in the code using FLAG_VAL and bit shifts?
Thank you.
If I have
FLAG_VAL = 1 << 6; //(or 64),
how can I get back the exponent (6 in this case) later in the code using FLAG_VAL and bit shifts?
Thank you.