Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
generate_canonical.hpp File Reference
#include <algorithm>
#include <boost/assert.hpp>
#include <boost/config/no_tr1/cmath.hpp>
#include <boost/limits.hpp>
#include <boost/type_traits/is_integral.hpp>
#include <boost/random/detail/signed_unsigned_tools.hpp>
#include <boost/random/detail/generator_bits.hpp>
Include dependency graph for generate_canonical.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::random
 
 boost::random::detail
 

Functions

template<class RealType , std::size_t bits, class URNG >
RealType boost::random::detail::generate_canonical_impl (URNG &g, boost::mpl::true_)
 
template<class RealType , std::size_t bits, class URNG >
RealType boost::random::detail::generate_canonical_impl (URNG &g, boost::mpl::false_)
 
template<class RealType , std::size_t bits, class URNG >
RealType boost::random::generate_canonical (URNG &g)
 Returns a value uniformly distributed in the range [0, 1) with at least bits random bits. More...