source: Daodan/MSVC/dSFMT/dSFMT-params216091.h@ 831

Last change on this file since 831 was 567, checked in by gumby, 14 years ago

Daodan MSVC

File size: 1.4 KB
Line 
1#ifndef DSFMT_PARAMS216091_H
2#define DSFMT_PARAMS216091_H
3
4/* #define DSFMT_N 2077 */
5/* #define DSFMT_MAXDEGREE 216136 */
6#define DSFMT_POS1 1890
7#define DSFMT_SL1 23
8#define DSFMT_MSK1 UINT64_C(0x000bf7df7fefcfff)
9#define DSFMT_MSK2 UINT64_C(0x000e7ffffef737ff)
10#define DSFMT_MSK32_1 0x000bf7dfU
11#define DSFMT_MSK32_2 0x7fefcfffU
12#define DSFMT_MSK32_3 0x000e7fffU
13#define DSFMT_MSK32_4 0xfef737ffU
14#define DSFMT_FIX1 UINT64_C(0xd7f95a04764c27d7)
15#define DSFMT_FIX2 UINT64_C(0x6a483861810bebc2)
16#define DSFMT_PCV1 UINT64_C(0x3af0a8f3d5600000)
17#define DSFMT_PCV2 UINT64_C(0x0000000000000001)
18#define DSFMT_IDSTR "dSFMT2-216091:1890-23:bf7df7fefcfff-e7ffffef737ff"
19
20
21/* PARAMETERS FOR ALTIVEC */
22#if defined(__APPLE__) /* For OSX */
23 #define ALTI_SL1 (vector unsigned int)(7, 7, 7, 7)
24 #define ALTI_SL1_PERM \
25 (vector unsigned char)(2,3,4,5,6,7,30,30,10,11,12,13,14,15,0,1)
26 #define ALTI_SL1_MSK \
27 (vector unsigned int)(0xffffffffU,0xff800000U,0xffffffffU,0xff800000U)
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 {7, 7, 7, 7}
32 #define ALTI_SL1_PERM \
33 {2,3,4,5,6,7,30,30,10,11,12,13,14,15,0,1}
34 #define ALTI_SL1_MSK \
35 {0xffffffffU,0xff800000U,0xffffffffU,0xff800000U}
36 #define ALTI_MSK \
37 {DSFMT_MSK32_1, DSFMT_MSK32_2, DSFMT_MSK32_3, DSFMT_MSK32_4}
38#endif
39
40#endif /* DSFMT_PARAMS216091_H */
Note: See TracBrowser for help on using the repository browser.