Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ nrandd
Function
nrandd
source/core/StarRandom.cpp:321–325 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
319
}
320
321
double nrandd(double stddev, double mean) {
322
MutexLocker locker(g_randMutex);
323
checkInit();
324
return g_randSource->nrandd(stddev, mean);
325
}
326
327
int64_t stochasticRound(double val) {
328
MutexLocker locker(g_randMutex);
Callers
1
nrand
Method · 0.85
Calls
2
checkInit
Function · 0.85
nrandd
Method · 0.80
Tested by
no test coverage detected