vSMC
vSMC: Scalable Monte Carlo
|
The value of RNGMaxBits<RNGType>::value - RNGMinBits<RNGType>::value. More...
#include <vsmc/rng/internal/common.hpp>
The value of RNGMaxBits<RNGType>::value - RNGMinBits<RNGType>::value.
Let R = RNGMinBits<RNGType>::value. Let P = RNGMaxBits<RNGType>::vaue - RNGMinBits<RNGType>::value Then given u
is the unsigned random integer generated by RNGType
, (u >> R)
is an unsigned random integer covering at least \(\{0,\dots,2^P - 1\}\).
Definition at line 508 of file common.hpp.