Hacker News new | ask | show | jobs
by gwerbin 15 days ago
I appreciate that the author concluded you should use 255, because this approach here (making sure the minimum and maximum of the range actually map to 0 and 1) makes so much sense I never considered you could or ever would want to do it any other way.