Is there something special about the number 65535?
- by Nick Rosencrantz
2¹6-1 & 25 = 25 (or? obviously ?)
A developer asked me today what is bitwise 65535 & 32 i.e. 2¹6-1 & 25 = ?
I thought at first spontaneously 32 but it seemed to easy whereupon I thought for several minutes and then answered 32. 32 seems to have been the correct answer but how? 65535=2¹6-1=1111111111111111 (but it doesn't seem right…