Hacker News
new
past
comments
ask
show
jobs
points
by
yxhuvud
22 hours ago
|
comments
by
account42
7 hours ago
|
[-]
They don't - trunc(result * 255 + 0.5) is just round(result * 255), i.e. error is on average 0 whereas trunc(result * 256) has an average bias of -0.5.
reply