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

Method nextLong

server/webclient/src/util/JavaRandom.ts:106–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 } while (((bits - val + (bound - 1)) | 0) < 0);
105 return val;
106 }
107
108 nextLong() {
109 const msb = BigInt(this.nextSigned(32));
110 const lsb = BigInt(this.nextSigned(32));
111 return BigInt.asIntN(64, (msb << 32n) + lsb);
112 }
113
114 nextBoolean() {

Callers

nothing calls this directly

Calls 1

next_signedFunction · 0.70

Tested by

no test coverage detected