Would be good to have a comment describing how this bitwise operator is being used to come to the result.