3 ms·
This is what I do for the former: floor( nextafter( 256, 255 ) * value )
by vitorsr 4mo ago
This is what I do for the former:
floor( nextafter( 256, 255 ) * value )
- atilimcetin 4mo agoOh very nice idea to get rid of the min operator.
3 ms·