summaryrefslogtreecommitdiffstats
path: root/test/numerics/rand/rand.predef/ranlux48.pass.cpp
blob: d0ab41f6fc3cf8e4af85b6ef6b6d393b946823d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===----------------------------------------------------------------------===//
//
// ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <random>

// typedef discard_block_engine<ranlux48_base, 389, 11>                ranlux48;

#include <random>
#include <cassert>

int main()
{
    std::ranlux48 e;
    e.discard(9999);
    assert(e() == 249142670248501ull);
}