Files
starface-outlook-sync-addin/node_modules/hyperdyperid/lib/xorshift32.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

16 lines
303 B
JavaScript

function makexorshift32() {
var x = 1 + Math.round(Math.random() * ((-1>>>0)-1));
return function xorshift32() {
x ^= x << 13;
x ^= x >> 17;
x ^= x << 5;
return x;
};
}
var xorshift32 = makexorshift32();
exports.makexorshift32 = makexorshift32;
exports.xorshift32 = xorshift32;