MCPcopy Create free account
hub / github.com/MaxBittker/rs-sdk / next

Function next

server/webclient/src/util/JavaRandom.ts:54–56  ·  view source on GitHub ↗
(bits: number)

Source from the content-addressed store, hash-verified

52 private advance(): number {
53 const s0 = this.s0;
54 const s1 = this.s1;
55 const s2 = this.s2;
56 let carry = 0xb;
57
58 let r0 = (s0 * c0) + carry;
59 carry = r0 >>> 16;

Callers 4

nextIntMethod · 0.70
nextBooleanMethod · 0.70
nextFloatMethod · 0.70
nextDoubleMethod · 0.70

Calls 1

_nextFunction · 0.70

Tested by

no test coverage detected