uniform overloads
Synopses
Declared in <llvm/FuzzMutate/Random.h>
Return a uniformly distributed random value of type T.
template<
typename T,
typename GenT>
T
uniform(GenT& Gen);
Return a uniformly distributed random value between Min and Max.
template<
typename T,
typename GenT>
T
uniform(
GenT& Gen,
T Min,
T Max);
Return Value
-
A uniformly distributed random value of type
T. -
A uniformly distributed random value in []`Min,`
Max].
Parameters
Name |
Description |
Gen |
Pseudo‐random number generator to draw from. |
Min |
Inclusive lower bound of the range. |
Max |
Inclusive upper bound of the range. |
Created with MrDocs