source: Daodan/src/dSFMT/dSFMT-params86243.h@ 473

Last change on this file since 473 was 440, checked in by rossy, 15 years ago

int32rand

File size: 1.4 KB
Line 
1#ifndef DSFMT_PARAMS86243_H
2#define DSFMT_PARAMS86243_H
3
4/* #define DSFMT_N 829 */
5/* #define DSFMT_MAXDEGREE 86344 */
6#define DSFMT_POS1 231
7#define DSFMT_SL1 13
8#define DSFMT_MSK1 UINT64_C(0x000ffedff6ffffdf)
9#define DSFMT_MSK2 UINT64_C(0x000ffff7fdffff7e)
10#define DSFMT_MSK32_1 0x000ffedfU
11#define DSFMT_MSK32_2 0xf6ffffdfU
12#define DSFMT_MSK32_3 0x000ffff7U
13#define DSFMT_MSK32_4 0xfdffff7eU
14#define DSFMT_FIX1 UINT64_C(0x1d553e776b975e68)
15#define DSFMT_FIX2 UINT64_C(0x648faadf1416bf91)
16#define DSFMT_PCV1 UINT64_C(0x5f2cd03e2758a373)
17#define DSFMT_PCV2 UINT64_C(0xc0b7eb8410000001)
18#define DSFMT_IDSTR "dSFMT2-86243:231-13:ffedff6ffffdf-ffff7fdffff7e"
19
20
21/* PARAMETERS FOR ALTIVEC */
22#if defined(__APPLE__) /* For OSX */
23 #define ALTI_SL1 (vector unsigned int)(5, 5, 5, 5)
24 #define ALTI_SL1_PERM \
25 (vector unsigned char)(1,2,3,4,5,6,7,31,9,10,11,12,13,14,15,0)
26 #define ALTI_SL1_MSK \
27 (vector unsigned int)(0xffffffffU,0xffffe000U,0xffffffffU,0xffffe000U)
28 #define ALTI_MSK (vector unsigned int)(DSFMT_MSK32_1, \
29 DSFMT_MSK32_2, DSFMT_MSK32_3, DSFMT_MSK32_4)
30#else /* For OTHER OSs(Linux?) */
31 #define ALTI_SL1 {5, 5, 5, 5}
32 #define ALTI_SL1_PERM \
33 {1,2,3,4,5,6,7,31,9,10,11,12,13,14,15,0}
34 #define ALTI_SL1_MSK \
35 {0xffffffffU,0xffffe000U,0xffffffffU,0xffffe000U}
36 #define ALTI_MSK \
37 {DSFMT_MSK32_1, DSFMT_MSK32_2, DSFMT_MSK32_3, DSFMT_MSK32_4}
38#endif
39
40#endif /* DSFMT_PARAMS86243_H */
Note: See TracBrowser for help on using the repository browser.