davidbau / seedrandom

seeded random number generator for Javascript
2.04k stars 160 forks source link

Xorshift #14

Closed jacksonvo closed 9 years ago

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 95.71% when pulling 519f500037f11a646a50b7a614120a7b53d86f10 on jacksonvo:xorshift into 3dc8807af57caf380d4c40a6356cc41ad53fdcdc on davidbau:master.

davidbau commented 9 years ago

Hello - a few things are needed before merging to master. All the xor pnrgs should support string seeds (not just integer seeds).

In particular, I would ideally like xsadd.js's string seeding match the integer-array seeding in the xsadd implementation here (maybe mapping the sequence of unicode codes to integer values).

http://www.math.sci.hiroshima-u.ac.jp/~%20m-mat/MT/XSADD/index.html

Feel like adding that support?