|
OpenQMC API
|

Go to the source code of this file.
Namespaces | |
| namespace | oqmc |
Functions | |
| constexpr std::uint32_t | oqmc::uintToRange (std::uint32_t value, std::uint32_t range) |
| Compute an unsigned integer within 0-bounded half-open range. | |
| constexpr std::uint32_t | oqmc::uintToRange (std::uint32_t value, std::uint32_t begin, std::uint32_t end) |
| Compute an unsigned integer within half-open range. | |
Functionality for remapping integer values to within a bounded range while retaining quality properties of random numbers at low cost.