Lines Matching +full:binary +full:- +full:coded
2 A C-program for MT19937, with initialization improved 2002/1/26.
3 Coded by Takuji Nishimura and Makoto Matsumoto.
5 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
8 Redistribution and use in source and binary forms, with or without
15 2. Redistributions in binary form must reproduce the above copyright
37 http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
38 email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
53 #define UPPER_MASK 0x80000000UL /* most significant w-r bits */
66 (1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) + in init_genrand()
78 /* generates a random number on [0,0xffffffff]-interval */
90 for (kk=0;kk<N-M;kk++) { in genrand_int32()
94 for (;kk<N-1;kk++) { in genrand_int32()
96 mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
98 y = (mt[N-1]&UPPER_MASK)|(mt[0]&LOWER_MASK); in genrand_int32()
99 mt[N-1] = mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()