Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Modified to show changes of seeding

  • Loading branch information...
commit b15bf08d1fc109fd141111317c58146ee3e712ce 1 parent 12b0c29
@jj1bdx authored
Showing with 13 additions and 2 deletions.
  1. +13 −2
@@ -1,6 +1,6 @@
# sfmt-erlang: SIMD-oriented Fast Mersenne Twister (SFMT) for Erlang
-* Version 0.8.0_RELEASE 3-MAY-2012
+* Version 0.8.1_RELEASE 25-MAY-2012
* Edited and written by Kenji Rikitake (Kyoto University)
* Email contact: <>
@@ -26,6 +26,17 @@ See <>
* new module sfmt86243 added (from 0.6.1_BETA)
* Pure SFMT module now added as working code by request (from 0.8.0_RELEASE)
+## Note: seeding algorithm changed for `seed(integer())` functions
+* The old `seed/1` function calls `int_gen_rand/1` (up to 0.8.0_RELEASE)
+* The internal state generated by `int_gen_rand/1` is predictable,
+ especially when the value of the 1st element of the state list is
+ very close to the given seed value.
+ (Michael Gebetsroither discovered this behavior)
+* The new `seed/1` function calls `init_by_list32/1` (from 0.8.1_RELEASE)
+ and the seed is given as `[integer()]`,
+ to reduce predictability of the 1st element of the state list.
## Supported SFMT PRNG periods
* sfmt607: (2^607 - 1)
@@ -130,7 +141,7 @@ which will be automatically fetched under the directory `support/`.
* Richard O'Keefe
* Yurii Rashkovskii
* Kostis Sagonas (for code verification by dialyzer)
-* Michael Gebetsroither (for ths suggestion of Pure Erlang code workable)
+* Michael Gebetsroither (for the suggestion of Pure Erlang code workable)
Please sign in to comment.
Something went wrong with that request. Please try again.