Beefed up the tests for all of the distributions to include checks against the expected skewness and kurtosis
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3434,9 +3434,7 @@ public:
|
||||
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)
|
||||
|
Reference in New Issue
Block a user