3 ms·
That's a code snippet where extra parenthesis might help. The first several times I read it as: ((width * bytes_per_pixel)+(3&~3)) and thought "what's th
by dspeyer 14y ago
That's a code snippet where extra parenthesis might help. The first several times I read it as:
((width * bytes_per_pixel)+(3&~3))
and thought "what's the point?"
I don't know why bitwise ops are so low precedence. They've always felt more like multiplication to me.