summaryrefslogtreecommitdiff
path: root/misc.h
blob: 2fe70aaa7c2caa597e342e4c8b4c59387a21e5dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
** misc.h
** Header for misc.c
** BYTEmark (tm)
** BYTE's Native Mode Benchmarks
** Rick Grehan, BYTE Magazine
**
** Creation:
** Revision: 3/95
**
** DISCLAIMER
** The source, executable, and documentation files that comprise
** the BYTEmark benchmarks are made available on an "as is" basis.
** This means that we at BYTE Magazine have made every reasonable
** effort to verify that the there are no errors in the source and
** executable code.  We cannot, however, guarantee that the programs
** are error-free.  Consequently, McGraw-HIll and BYTE Magazine make
** no claims in regard to the fitness of the source code, executable
** code, and documentation of the BYTEmark.
**  Furthermore, BYTE Magazine, McGraw-Hill, and all employees
** of McGraw-Hill cannot be held responsible for any damages resulting
** from the use of this code or the results obtained from using
** this code.
*/

/************************
** FUNCTION PROTOTYPES **
************************/

/*
long randwc(long num);
unsigned long abs_randwc(unsigned long num);
long randnum(long lngval);
*/

#include "nmglobal.h"
int32_t randwc(int32_t num);
uint32_t abs_randwc(uint32_t num);
int32_t randnum(int32_t lngval);