Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_randommodule.c101 static const uint32_t mag01[2] = {0x0U, MATRIX_A}; in genrand_int32() local
111 mt[kk] = mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_int32()
115 mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_int32()
118 mt[N-1] = mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1U]; 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()