#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <stdarg.h>
#include <math.h>
#include <string.h>
#include <limits.h>
#include <memory.h>
#include <sys/times.h>
#include <unistd.h>
Go to the source code of this file.
#define MCKNAP_RC_TRIVIAL_MAXSUM 2 |
#define TRACELEVEL 10 /* level of debug information */ |
#define START 1 /* first test to be run */ |
#define TESTS 100 /* last test to be run */ |
#define _INCLUDE_POSIX_SOURCE |
#define srand |
( |
|
x | ) |
srand48(x) |
#define random |
( |
|
x | ) |
(lrand48() % (x)) |
#define SYNC 5 /* when to switch to linear scan in binary scan */ |
#define MAXVTYPE ULONG_MAX |
#define DET |
( |
|
a1, |
|
|
|
a2, |
|
|
|
b1, |
|
|
|
b2 |
|
) |
| ((a1) * (stype) (b2) - (a2) * (stype) (b1)) |
#define SWAPS |
( |
|
a, |
|
|
|
b |
|
) |
| { register itemset t; t=*(a); *(a)=*(b); *(b)=t; } |
#define SWAPI |
( |
|
a, |
|
|
|
b |
|
) |
| { register itemrec t; t=*(a); *(a)=*(b); *(b)=t; } |
#define SWAPO |
( |
|
a, |
|
|
|
b |
|
) |
| { register ordrec t; t=*(a); *(a)=*(b); *(b)=t; } |
#define SIZE |
( |
|
a | ) |
((int) (((a)->lset+1)-(a)->fset)) |
typedef unsigned long vtype |
typedef int(* funcptr)(const void *, const void *) |
void inittrace |
( |
char * |
ext | ) |
|