Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDungeons/OpenDungeons
/ gaussianRandomDouble
Function
gaussianRandomDouble
source/utils/Random.cpp:105–108 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
}
104
105
double gaussianRandomDouble()
106
{
107
return std::sqrt(-2.0 * log(Double(0.0, 1.0))) * cos(2.0 * PI * Double(0.0, 1.0));
108
}
109
110
} // namespace Random
Callers
1
handleIdleAction
Method · 0.85
Calls
1
Double
Function · 0.85
Tested by
no test coverage detected