Hi. While searching on the web, i found that there is another (less 
complicated - for me) way to check if the value is Power of two:

return (value & (value - 1)) == 0;

What do you think?

Reply via email to