Lines Matching refs:min
48 float getFloat (float min, float max);
49 double getDouble (double min, double max);
50 int getInt (int min, int max);
79 inline float Random::getFloat (float min, float max) in getFloat() argument
81 DE_ASSERT(min <= max); in getFloat()
82 return min + (max-min)*getFloat(); in getFloat()
85 inline double Random::getDouble (double min, double max) in getDouble() argument
87 DE_ASSERT(min <= max); in getDouble()
88 return min + (max-min)*getDouble(); in getDouble()
91 inline int Random::getInt (int min, int max) in getInt() argument
93 DE_ASSERT(min <= max); in getInt()
94 if (min == (int)0x80000000 && max == (int)0x7fffffff) in getInt()
97 return min + (int)(getUint32() % (deUint32)(max-min+1)); in getInt()