Comments, special case exp2 and some bit twiddling