logoalt Hacker News

theyeenzbeanzyesterday at 7:05 PM2 repliesview on HN

Should always be 0-255 as that fits an unsigned byte.


Replies

crazygringoyesterday at 7:26 PM

That's not what the article is about.

Retr0idyesterday at 7:23 PM

> assume that in both cases the output values are clamped before the final typecast