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

Method nextFloat

server/engine/src/util/JavaRandom.ts:117–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }
116
117 nextFloat() {
118 return next(24) / p2_24;
119 }
120
121 nextDouble() {
122 return (p2_27 * next(26) + next(27)) / p2_53;

Callers

nothing calls this directly

Calls 1

nextFunction · 0.70

Tested by

no test coverage detected