Deleted Added
sdiff udiff text old ( 2665:a124942bacb8 ) new ( 3483:edede8473667 )
full compact
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;

--- 22 unchanged lines hidden (view full) ---

31
32#ifndef __BASE_RANDOM_HH__
33#define __BASE_RANDOM_HH__
34
35#include "sim/host.hh"
36
37long getLong();
38double getDouble();
39uint64_t getUniformPos(uint64_t min, uint64_t max);
40int64_t getUniform(int64_t min, int64_t max);
41
42template <typename T>
43struct Random;
44
45template<> struct Random<int8_t>
46{

--- 83 unchanged lines hidden ---