Home
last modified time | relevance | path

Searched refs:mag01 (Results 1 – 3 of 3) sorted by relevance

/external/OpenCL-CTS/test_common/harness/
Dmt19937.cpp108 static const cl_uint mag01[2] = { 0x0UL, MATRIX_A }; in genrand_int32() local
169 mt[kk] = mt[kk + M] ^ (y >> 1) ^ mag01[y & (cl_uint)0x1UL]; in genrand_int32()
177 mt[kk] = mt[kk + (M - N)] ^ (y >> 1) ^ mag01[y & (cl_uint)0x1UL]; in genrand_int32()
207 mt[kk] = mt[kk + (M - N)] ^ (y >> 1) ^ mag01[y & (cl_uint)0x1UL]; in genrand_int32()
210 mt[N - 1] = mt[M - 1] ^ (y >> 1) ^ mag01[y & (cl_uint)0x1UL]; in genrand_int32()
/external/python/cpython2/Modules/
D_randommodule.c98 static unsigned long mag01[2]={0x0UL, MATRIX_A}; in genrand_int32() local
108 mt[kk] = mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
112 mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
115 mt[N-1] = mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
/external/python/cpython3/Modules/
D_randommodule.c122 static const uint32_t mag01[2] = {0x0U, MATRIX_A}; in genrand_uint32() local
132 mt[kk] = mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_uint32()
136 mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_uint32()
139 mt[N-1] = mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_uint32()