• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* test_lagged_fibonacci.cpp
2  *
3  * Copyright Steven Watanabe 2011
4  * Distributed under the Boost Software License, Version 1.0. (See
5  * accompanying file LICENSE_1_0.txt or copy at
6  * http://www.boost.org/LICENSE_1_0.txt)
7  *
8  * $Id$
9  *
10  */
11 
12 #include <boost/random/lagged_fibonacci.hpp>
13 
14 typedef boost::random::lagged_fibonacci_engine<boost::uint32_t, 24, 607, 273> lagged_fibonacci;
15 #define BOOST_RANDOM_URNG lagged_fibonacci
16 
17 #define BOOST_RANDOM_SEED_WORDS 607
18 
19 #define BOOST_RANDOM_VALIDATION_VALUE 3543833U
20 #define BOOST_RANDOM_SEED_SEQ_VALIDATION_VALUE 1364481U
21 #define BOOST_RANDOM_ITERATOR_VALIDATION_VALUE 4372778U
22 
23 #define BOOST_RANDOM_GENERATE_VALUES { 0xF61A5094U, 0xFC4BA046U, 0xF1C41E92U, 0x3D82FE61U }
24 
25 #include "test_generator.ipp"
26