4 ms·
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 sim
by account42 5mo 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.
- exyi 5mo agoExactly. Although if you do >> 8 while working with uint8, it will be the fastest :)