Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ randd
Function
randd
source/core/StarRandom.cpp:267–271 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
265
}
266
267
double randd() {
268
MutexLocker locker(g_randMutex);
269
checkInit();
270
return g_randSource->randd();
271
}
272
273
float randf(float min, float max) {
274
MutexLocker locker(g_randMutex);
Callers
5
update
Method · 0.85
selectIndex
Method · 0.85
randd
Method · 0.85
nrandd
Method · 0.85
stochasticRound
Method · 0.85
Calls
2
checkInit
Function · 0.85
randd
Method · 0.80
Tested by
no test coverage detected