Files
openide/java/java-impl/resources/inspectionDescriptions/NumericOverflow.html
2025-02-05 04:43:28 +00:00

12 lines
365 B
HTML

<html>
<body>
Reports expressions that overflow during computation.
Usually, this happens by accident and indicates a bug. For example, a wrong type is used or a shift should be done in an opposite direction .
<p><b>Examples:</b></p>
<pre><code>
float a = 1.0f/0.0f;
long b = 30 * 24 * 60 * 60 * 1000;
long c = 1000L &lt;&lt; 62;
</code></pre>
</body>
</html>