3 ms·
I think his point is more about clamping the value than about using sizeof. It indicates the author expected that value to vary, but it doesn't.
by reubenmorais 12y ago
I think his point is more about clamping the value than about using sizeof. It indicates the author expected that value to vary, but it doesn't.
- fredophile 12y agoDepending on your application I can see where you might still want to clamp the result. However, I think you're right in this case since the clamped range doesn't make much sense here.