srecord: r250.h Source File

srecord 1.65.0

Loading...
Searching...
No Matches
r250.h
Go to the documentation of this file.
1//
2// srecord - manipulate eprom load files
3// Copyright (C) 2004, 2006-2008, 2010 Peter Miller
4//
5// This program is free software; you can redistribute it and/or modify it
6// under the terms of the GNU Lesser General Public License as published by
7// the Free Software Foundation; either version 3 of the License, or (at your
8// option) any later version.
9//
10// This program is distributed in the hope that it will be useful, but WITHOUT
11// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12// FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
13// License for more details.
14//
15// You should have received a copy of the GNU Lesser General Public License
16// along with this program. If not, see <http://www.gnu.org/licenses/>.
17//
18
19#ifndef SRECORD_R250_H
20#define SRECORD_R250_H
21
22namespace srecord
23{
24
25/**
26 * The r250 function is used to produce a 32-bit random number.
27 * It repeats every 2**256 samples, long enough for most purposes.
28 */
29 unsigned long r250(void);
30
31};
32
33#endif // SRECORD_R250_H
srecord
Definition adler16.h:25
srecord::r250
unsigned long r250(void)
The r250 function is used to produce a 32-bit random number.