[clang-tidy] Fix an error in .rst

llvm-svn: 260099
This commit is contained in:
Alexander Kornienko 2016-02-08 15:09:34 +00:00
parent a7faa5b92a
commit 7193d9fa95
1 changed files with 4 additions and 2 deletions

View File

@ -2,8 +2,10 @@ misc-incorrect-roundings
========================
Checks the usage of patterns known to produce incorrect rounding.
Programmers often use
(int)(double_expression + 0.5)
Programmers often use::
(int)(double_expression + 0.5)
to round the double expression to an integer. The problem with this:
1. It is unnecessarily slow.