MCPcopy
hub / github.com/nusu/avvvatars / next

Method next

src/lib/alea.ts:40–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 next() {
41 let {c,s0,s1,s2} = this;
42 let t = 2091639 * s0 + c * 2.3283064365386963e-10; // 2^-32
43 this.s0 = s1;
44 this.s1 = s2;
45 return this.s2 = t - (this.c = t | 0);
46 }
47
48 copy(f: this, t: this) {
49 t.c = f.c;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected