… | |
… | |
138 | // and likely of higher quality. |
138 | // and likely of higher quality. |
139 | typedef gfsr_rng<uint32_t, 250, 103> r250_rng; |
139 | typedef gfsr_rng<uint32_t, 250, 103> r250_rng; |
140 | typedef gfsr_rng<uint32_t, 521, 168> r521_rng; |
140 | typedef gfsr_rng<uint32_t, 521, 168> r521_rng; |
141 | |
141 | |
142 | // freeciv uses this one, so it's good enough for us :) |
142 | // freeciv uses this one, so it's good enough for us :) |
143 | // (also known as mitchell moore generator |
143 | // (also known as mitchell moore generator) |
144 | typedef gfsr_rng<uint32_t, 55, 24> freeciv_rng; |
144 | typedef gfsr_rng<uint32_t, 55, 24> freeciv_rng; |
145 | |
145 | |
146 | // this one should be high quality, but is slightly slower than tausworthe |
146 | // this one should be high quality, but is slightly slower than tausworthe |
147 | struct r250521_rng |
147 | struct r250521_rng |
148 | { |
148 | { |