| 61 | |
| 62 | template <typename T, typename... TL> |
| 63 | uint32_t staticRandomU32Range(uint32_t min, uint32_t max, T const& d, TL const&... rest) { |
| 64 | uint64_t denom = (uint64_t)(-1) / ((uint64_t)(max - min) + 1); |
| 65 | return staticRandomU64(d, rest...) / denom + min; |
| 66 | } |
| 67 | |
| 68 | template <typename T, typename... TL> |
| 69 | int64_t staticRandomI64(T const& d, TL const&... rest) { |
no test coverage detected