MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / RandomFloatingGenerator

Method RandomFloatingGenerator

test/catch.hpp:5265–5270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5263
5264public:
5265 RandomFloatingGenerator(Float a, Float b)
5266 : m_rand(getCurrentContext().getConfig()->rngSeed())
5267 , m_dist(a, b)
5268 {
5269 static_cast<void>(next());
5270 }
5271
5272 Float const& get() const override
5273 {

Callers

nothing calls this directly

Calls 1

rngSeedMethod · 0.80

Tested by

no test coverage detected