Dividing by 1023 or 1024? The final verdict on analogRead

Interesting - I doubt the AVR has a barrel shifter.

Smaller powers of two divides will be done with shifts though, unless the compiler is exceptionally dumb.