Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cinder/Cinder
/ RandomFloatingGenerator
Method
RandomFloatingGenerator
test/unit/src/catch.hpp:4609–4613 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4607
public:
4608
4609
RandomFloatingGenerator(Float a, Float b):
4610
m_rng(rng()),
4611
m_dist(a, b) {
4612
static_cast<void>(next());
4613
}
4614
4615
Float const& get() const override {
4616
return m_current_number;
Callers
nothing calls this directly
Calls
1
next
Function · 0.50
Tested by
no test coverage detected