Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
63
uint64_t RandomSource::randu64() {
64
uint64_t r = randu32();
65
r = r << 32;
66
r = r | randu32();
67
return r;
68
}
69
70
int32_t RandomSource::randi32() {
71
return (int32_t)(randu32());
Callers
10
createBiome
Method · 0.80
readBiomePlaceables
Method · 0.80
produceSystem
Method · 0.80
BiomeItemDistribution
Method · 0.80
PerlinSelector
Method · 0.80
DisplacementSelector
Method · 0.80
RidgeBlocksSelector
Method · 0.80
randu64
Function · 0.80
shuffle
Method · 0.80
TEST
Function · 0.80
Calls
1
randu32
Function · 0.85
Tested by
1
TEST
Function · 0.64