8000 Merge pull request #93 from Afforix/fix-typo · dev-89/cppbestpractices@e00cc04 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit e00cc04

Browse files
authored
Merge pull request cpp-best-practices#93 from Afforix/fix-typo
Fix typo
2 parents 59298ad + 6a9fb6a commit e00cc04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

08-Considering_Performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ for (int i = 0; i < 15; ++i)
278278

279279
Depending on the situation and the compiler's ability to optimize, one may be faster over the other. Choosing `float` will result in lower precision and may be slower due to conversions. On vectorizable operations `float` may be faster if you are able to sacrifice precision.
280280

281-
`double` is the recomended default choice as it is the default type for floating point values in C++.
281+
`double` is the recommended default choice as it is the default type for floating point values in C++.
282282

283283
See this [stackoverflow](http://stackoverflow.com/questions/4584637/double-or-float-which-is-faster) discussion for some more information.
284284

0 commit comments

Comments
 (0)
0