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

Method randu64

source/core/StarRandom.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63uint64_t RandomSource::randu64() {
64 uint64_t r = randu32();
65 r = r << 32;
66 r = r | randu32();
67 return r;
68}
69
70int32_t RandomSource::randi32() {
71 return (int32_t)(randu32());

Callers 10

createBiomeMethod · 0.80
readBiomePlaceablesMethod · 0.80
produceSystemMethod · 0.80
BiomeItemDistributionMethod · 0.80
PerlinSelectorMethod · 0.80
DisplacementSelectorMethod · 0.80
RidgeBlocksSelectorMethod · 0.80
randu64Function · 0.80
shuffleMethod · 0.80
TESTFunction · 0.80

Calls 1

randu32Function · 0.85

Tested by 1

TESTFunction · 0.64