Index: webrtc/test/random.h |
diff --git a/webrtc/test/random.h b/webrtc/test/random.h |
index 9a0bc9e9532aae2b70673c72f4085e2961e66cb2..7568a1757c8165e6c2abac36f26769c4645448f1 100644 |
--- a/webrtc/test/random.h |
+++ b/webrtc/test/random.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_TEST_RANDOM_H_ |
#define WEBRTC_TEST_RANDOM_H_ |
+#include <limits> |
+ |
#include "webrtc/typedefs.h" |
#include "webrtc/base/constructormagic.h" |
@@ -25,7 +27,7 @@ class Random { |
// Return pseudo-random number in the interval [0.0, 1.0]. |
pbos-webrtc
2015/10/19 15:22:21
Let's make this one [0.0, 1.0).
|
float Rand(); |
- // Return pseudo rounded random number in interval [low, high]. |
+ // Return pseudo-random number mapped to the interval [low, high]. |
int Rand(int low, int high); |
// Normal Distribution. |