Source code

Revision control

Copy as Markdown

Other Tools

[
[
"warning",
"casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead",
"bugprone-incorrect-roundings"
],
{ "reliability": "high" }
]