Searched refs:mag01 (Results 1 – 2 of 2) sorted by relevance
104 static unsigned long mag01[2]={0x0UL, MATRIX_A}; in genrand_int32() local115 mt[kk] = mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()119 mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()122 mt[N-1] = mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
372 static const guint32 mag01[2]={0x0, MATRIX_A}; in g_rand_int() local382 rand->mt[kk] = rand->mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1]; in g_rand_int()386 rand->mt[kk] = rand->mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1]; in g_rand_int()389 rand->mt[N-1] = rand->mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1]; in g_rand_int()