<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in alg.pass.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>31dfaff3 - [libc++] Change requirements on linear_congruential_engine.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/alg.pass.cpp#31dfaff3</link>
        <description>[libc++] Change requirements on linear_congruential_engine.This patch changes how linear_congruential_engine picks its randomizationalgorithm. 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 checksthat Schrage&apos;s algorithm will produce results that are in bounds of minand max. This patch fixes https://llvm.org/PR27839.Differential Revision: D65041

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/alg.pass.cpp</description>
        <pubDate>Wed, 11 Nov 2020 02:23:22 +0000</pubDate>
        <dc:creator>zoecarver &lt;z.zoelec2@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
