Hacker News new | ask | show | jobs
by account42 14 days ago
Shift right isn't even relevant here - if you shift before conversion to float all your values end up 0 and if you want to divide afterwards its no longer a simple shift.
1 comments

Exactly. Although if you do >> 8 while working with uint8, it will be the fastest :)