Hacker News new | ask | show | jobs
by vitorsr 10 days ago
This is what I do for the former:

    floor( nextafter( 256, 255 ) * value )
1 comments

Oh very nice idea to get rid of the min operator.