1. 19 6月, 2021 1 次提交
  2. 11 3月, 2021 1 次提交
  3. 09 9月, 2020 1 次提交
  4. 17 8月, 2020 1 次提交
  5. 08 6月, 2013 1 次提交
    • S
      prng: fix rand() to give good sequence with small state · c79cd27e
      Szabolcs Nagy 提交于
      some applications rely on the low bits of rand() to be reasonably good
      quality prng, so now it fixed by using the top bits of a 64 bit LCG,
      this is simple, has small state and passes statistical tests.
      D.E. Knuth attributes the multiplier to C.E. Haynes in TAOCP Vol2 3.3.4
      c79cd27e
  6. 12 2月, 2011 1 次提交