зеркало из https://github.com/mozilla/gecko-dev.git
NO BUG: Fix misspelled name in comments. DONTBUILD r=jorendorff
--HG-- extra : rebase_source : db21b85604b4e486d54fa45c993a32a64d76778c
This commit is contained in:
Родитель
2cf32d8572
Коммит
70ad42d64f
|
@ -355,7 +355,7 @@ class FastBernoulliTrial {
|
|||
* double is 2^64, not 2^64-1, so this doesn't actually set skipCount to a
|
||||
* value that can be safely assigned to mSkipCount.
|
||||
*
|
||||
* Jakub Oleson cleverly suggested flipping the sense of the comparison: if
|
||||
* Jakob Olesen cleverly suggested flipping the sense of the comparison: if
|
||||
* we require that skipCount < SIZE_MAX, then because of the gaps (2048)
|
||||
* between doubles at that magnitude, the highest double less than 2^64 is
|
||||
* 2^64 - 2048, which is fine to store in a size_t.
|
||||
|
|
Загрузка…
Ссылка в новой задаче