vSMC
vSMC: Scalable Monte Carlo
vsmc::RNGMaxBits< RNGType > Class Template Reference

Find the largest N such that RNGType::max() >= (M >> (W - N)) where M = std::numeric_limits<typename RNGType::result_type>::max() W = std::numeric_limits<typename RNGType::result_type>::digits. More...

#include <vsmc/rng/internal/common.hpp>

Detailed Description

template<typename RNGType>
class vsmc::RNGMaxBits< RNGType >

Find the largest N such that RNGType::max() >= (M >> (W - N)) where M = std::numeric_limits<typename RNGType::result_type>::max() W = std::numeric_limits<typename RNGType::result_type>::digits.

Definition at line 491 of file common.hpp.