blob: 506960c3cc7673c44d2d295f79d259b57f02e453 [file] [log] [blame]
<html>
<body>
Reports any checks for oddness of the form:
<code><pre>x % 2 == 1</pre></code>
Such checks will fail for negative odd values, which is probably not the behaviour intended. Consider using:
<code><pre>x % 2 != 0</pre></code> or: <code><pre>(x & 1) == 1</pre></code> instead.
<!-- tooltip end -->
<p>
</body>
</html>