mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
- added descriptions and a new option GitOrigin-RevId: 4d105d96b1b8fd0bae8560134479c959aaaa7d20
11 lines
615 B
HTML
11 lines
615 B
HTML
<html>
|
|
<body>
|
|
Reports division by zero or remainder by zero.
|
|
Such expressions will produce an <code>Infinity</code>, <code>-Infinity</code> or <code>NaN</code> result for doubles or floats,
|
|
and will throw an <code>ArithmeticException</code> for integers.
|
|
<p>When the expression has a <code>NaN</code> result, the fix suggests replacing the division expression with the <code>NaN</code> constant.
|
|
<!-- tooltip end -->
|
|
<p>Use the <b>Report conditional divide-by-zero</b> option to report divisions where the divisor may be zero in some execution paths.
|
|
This may occasionally produce false positives.
|
|
</body>
|
|
</html> |