llvm-project/libcxx
zoecarver 31dfaff3b3 [libc++] Change requirements on linear_congruential_engine.
This patch changes how linear_congruential_engine picks its randomization
algorithm. It adds two restrictions, `_OverflowOK` and `_SchrageOK`.
`_OverflowOK` means that m is a power of two so using the classic
`(a * x + c) % m` will create a meaningless overflow. The second checks
that Schrage's algorithm will produce results that are in bounds of min
and max. This patch fixes https://llvm.org/PR27839.

Differential Revision: D65041
2020-11-10 18:23:22 -08:00
..
benchmarks [runtimes] Revert the libc++ __config_site change 2020-10-23 09:41:48 -04:00
cmake [libc++] Rework the whole availability markup implementation 2020-11-05 12:28:52 -05:00
docs [libc++] Add a CI job to build the documentation 2020-11-05 15:33:09 -05:00
include [libc++] Change requirements on linear_congruential_engine. 2020-11-10 18:23:22 -08:00
lib [libc++] NFC: Re-generate the ABI lists with the new script 2020-11-02 11:36:35 -05:00
src [libc++] Remove emscripten handling from exception_fallback.ipp 2020-11-09 16:09:54 -08:00
test [libc++] Change requirements on linear_congruential_engine. 2020-11-10 18:23:22 -08:00
utils Revert "Allow running back-deployment testing against libc++abi" 2020-11-06 17:26:42 -05:00
www [libc++][NFC] Mark LWG issue 2899 as not complete. 2020-11-03 13:35:12 -08:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [libc++] Rework the whole availability markup implementation 2020-11-05 12:28:52 -05:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00