LibRan
0.1
Pseudo-random number distribution generator
urand
config.h
Go to the documentation of this file.
1
/* config.h. Generated from config.h.in by configure. */
2
/* config.h.in. Generated from configure.ac by autoheader. */
3
17
/*
18
* Copyright 2019 R.K. Owen, Ph.D.
19
* License see lgpl.md (Gnu Lesser General Public License)
20
*/
21
22
#ifndef _URAND_CONFIG_H_
23
# define _URAND_CONFIG_H_
24
# ifdef __cplusplus
25
extern
"C"
{
26
# endif
27
28
29
/* Define to 1 if you have the <inttypes.h> header file. */
30
#define HAVE_INTTYPES_H 1
31
32
/* Define to 1 if you have the <memory.h> header file. */
33
#define HAVE_MEMORY_H 1
34
35
/* Define to 1 if you have the <stdint.h> header file. */
36
#define HAVE_STDINT_H 1
37
38
/* Define to 1 if you have the <stdlib.h> header file. */
39
#define HAVE_STDLIB_H 1
40
41
/* Define to 1 if you have the <strings.h> header file. */
42
#define HAVE_STRINGS_H 1
43
44
/* Define to 1 if you have the <string.h> header file. */
45
#define HAVE_STRING_H 1
46
47
/* Define to 1 if you have the <sys/stat.h> header file. */
48
#define HAVE_SYS_STAT_H 1
49
50
/* Define to 1 if you have the <sys/types.h> header file. */
51
#define HAVE_SYS_TYPES_H 1
52
53
/* Define to 1 if you have the <unistd.h> header file. */
54
#define HAVE_UNISTD_H 1
55
56
/* Does not allow integer overflow wrap-around */
57
/* #undef LR_NOINTOVF */
58
59
/* Name of package */
60
#define PACKAGE "libran"
61
62
/* Define to the address where bug reports for this package should be sent. */
63
#define PACKAGE_BUGREPORT "rk@owen.sj.ca.us"
64
65
/* Define to the full name of this package. */
66
#define PACKAGE_NAME "LibRan"
67
68
/* Define to the full name and version of this package. */
69
#define PACKAGE_STRING "LibRan 0.1"
70
71
/* Define to the one symbol short name of this package. */
72
#define PACKAGE_TARNAME "libran"
73
74
/* Define to the home page for this package. */
75
#define PACKAGE_URL ""
76
77
/* Define to the version of this package. */
78
#define PACKAGE_VERSION "0.1"
79
80
/* Define to 1 if you have the ANSI C header files. */
81
#define STDC_HEADERS 1
82
83
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
84
#define TIME_WITH_SYS_TIME 1
85
86
/* Enable extensions on AIX 3, Interix. */
87
#ifndef _ALL_SOURCE
88
# define _ALL_SOURCE 1
89
#endif
90
/* Enable GNU extensions on systems that have them. */
91
#ifndef _GNU_SOURCE
92
# define _GNU_SOURCE 1
93
#endif
94
/* Enable threading extensions on Solaris. */
95
#ifndef _POSIX_PTHREAD_SEMANTICS
96
# define _POSIX_PTHREAD_SEMANTICS 1
97
#endif
98
/* Enable extensions on HP NonStop. */
99
#ifndef _TANDEM_SOURCE
100
# define _TANDEM_SOURCE 1
101
#endif
102
/* Enable general extensions on Solaris. */
103
#ifndef __EXTENSIONS__
104
# define __EXTENSIONS__ 1
105
#endif
106
107
108
/* Version number of package */
109
#define VERSION "0.1"
110
111
/* Define to 1 if on MINIX. */
112
/* #undef _MINIX */
113
114
/* Define to 2 if the system does not provide POSIX.1 features except with
115
this defined. */
116
/* #undef _POSIX_1_SOURCE */
117
118
/* Define to 1 if you need to in order for `stat' and other things to work. */
119
/* #undef _POSIX_SOURCE */
120
121
/* Define to `unsigned int' if <sys/types.h> does not define. */
122
/* #undef size_t */
123
124
125
/* add URAND direct compiled values */
126
131
#define LR_IRAND_LMAX2 4611686018427387904L
132
137
#define LR_IRAND_LMAX 9223372036854775807L
138
143
#define LR_IRAND_LNOT 0x8000000000000000L
144
149
#define LR_IRAND_IMAX2 1073741824
150
155
#define LR_IRAND_IMAX 2147483647
156
161
#define LR_IRAND_INOT 0x80000000
162
167
#define LR_FEPS 1.192093e-07
168
173
#define LR_FSQEPS 3.452670e-04
174
179
#define LR_DEPS 2.22045e-16
180
185
#define LR_DSQEPS 1.49012e-08
186
187
/* these macros specialize urand to the fastest operations */
188
/* +m2 as fast as ^m */
189
#define LR_IADD 1
190
/* #undef LR_NOIADD */
191
/* #undef LR_LADD */
192
#define LR_NOLADD 1
193
194
/* -m2 as fast as ^m */
195
#define LR_ISUB 1
196
/* #undef LR_NOISUB */
197
#define LR_LSUB 1
198
/* #undef LR_NOLSUB */
199
200
/* /2 as fast as >>1 */
201
/* #undef LR_IDIV */
202
#define LR_NOIDIV 1
203
#define LR_LDIV 1
204
/* #undef LR_NOLDIV */
205
206
# ifdef __cplusplus
207
}
208
# endif
209
#endif
/* _URAND_CONFIG_H_ */
210
Generated by
1.8.13