MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / randi32

Method randi32

source/core/StarRandom.cpp:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70int32_t RandomSource::randi32() {
71 return (int32_t)(randu32());
72}
73
74int64_t RandomSource::randi64() {
75 return (int64_t)(randu64());

Callers 3

produceChunkMethod · 0.80
randi32Function · 0.80
TESTFunction · 0.80

Calls 1

randu32Function · 0.85

Tested by 1

TESTFunction · 0.64