| 73 | // Generates values in the range [0.0, 1.0] |
| 74 | template <typename T, typename... TL> |
| 75 | float staticRandomFloat(T const& d, TL const&... rest) { |
| 76 | return (staticRandomU32(d, rest...) & 0x7fffffff) / 2147483648.0; |
| 77 | } |
| 78 | |
| 79 | template <typename T, typename... TL> |
| 80 | float staticRandomFloatRange(float min, float max, T const& d, TL const&... rest) { |
no test coverage detected