logoalt Hacker News

vitorsryesterday at 8:16 PM1 replyview on HN

This is what I do for the former:

    floor( nextafter( 256, 255 ) * value )

Replies

atilimcetinyesterday at 8:19 PM

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