num_exp: bitwise ops and op precedence