MCPcopy 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

updateMethod · 0.85
selectIndexMethod · 0.85
randdMethod · 0.85
nranddMethod · 0.85
stochasticRoundMethod · 0.85

Calls 2

checkInitFunction · 0.85
randdMethod · 0.80

Tested by

no test coverage detected