Beefed up the tests for all of the distributions to include checks against the expected skewness and kurtosis
llvm-svn: 103910
diff --git a/libcxx/include/random b/libcxx/include/random
index dac6dd1..6d17c2c 100644
--- a/libcxx/include/random
+++ b/libcxx/include/random
@@ -3434,9 +3434,7 @@
void param(const param_type& __p) {__p_ = __p;}
result_type min() const {return 0;}
- result_type max() const
- {return -std::log(1-std::nextafter(result_type(1), result_type(-1))) /
- __p_.lambda();}
+ result_type max() const {return numeric_limits<result_type>::infinity();}
friend bool operator==(const exponential_distribution& __x,
const exponential_distribution& __y)