fixed #4726: simplify bitwise Not (~ %num%)