random.hh (6214:1ec0ec8933ae) | random.hh (7771:e10aff32c561) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 15 unchanged lines hidden (view full) --- 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Nathan Binkert 29 * Ali Saidi 30 */ 31 | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 15 unchanged lines hidden (view full) --- 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Nathan Binkert 29 * Ali Saidi 30 */ 31 |
32/* 33 * Mersenne Twister random number generator has a period of 34 * 2^19937-1. 35 * 36 * The actual math is in its own file to keep the license clear. 37 */ 38 |
|
32#ifndef __BASE_RANDOM_HH__ 33#define __BASE_RANDOM_HH__ 34 35#include <ios> 36#include <string> 37 38#include "base/range.hh" 39#include "base/types.hh" --- 203 unchanged lines hidden --- | 39#ifndef __BASE_RANDOM_HH__ 40#define __BASE_RANDOM_HH__ 41 42#include <ios> 43#include <string> 44 45#include "base/range.hh" 46#include "base/types.hh" --- 203 unchanged lines hidden --- |