tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
generate_canonical.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename Real, size_t Bits, typename RNG>
constexpr auto generate_canonical (RNG &g) noexcept(noexcept(g())) -> Real
 Generates a random floating point number in range [0,1).