re PR libstdc++/58098 (wrong return value of normal_distribution::min())
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 7 Aug 2013 11:41:30 +0000 (11:41 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 7 Aug 2013 11:41:30 +0000 (11:41 +0000)
commita803975d9c048465bb1e314b9b65eda45170cdf9
treefe7ef552156ce5504151b03de08869532aca4429
parentdd81965b766c8465c2eec3ae4563f0076a899f8d
re PR libstdc++/58098 (wrong return value of normal_distribution::min())

2013-08-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/58098
* include/bits/random.h (cauchy_distribution<>::min,
extreme_value_distribution<>::min, normal_distribution<>::min,
student_t_distribution<>::min): Fix.
* include/ext/random (normal_mv_distribution<>::min): Likewise.
* testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
Adjust.
testsuite/26_numerics/random/cauchy_distribution/cons/default.cc:
Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/cons/
parms.cc: Likewise.
testsuite/26_numerics/random/extreme_value_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/normal_distribution/cons/default.cc:
Likewise.
* testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/student_t_distribution/cons/default.cc:
Likewise.
* testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise.

* testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
Minor tweak.
* testsuite/26_numerics/random/exponential_distribution/cons/default.cc:
Likewise.

* testsuite/ext/von_mises_distribution/*: Move to...
* testsuite/ext/random/von_mises_distribution/*: ... here.
* testsuite/ext/triangular_distribution/*: Move to...
* testsuite/ext/random/triangular_distribution/*: ... here.

From-SVN: r201562
29 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/random.h
libstdc++-v3/include/ext/random
libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/default.cc
libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/default.cc
libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/default.cc
libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/default.cc
libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/default.cc
libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/default.cc
libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/default.cc [moved from libstdc++-v3/testsuite/ext/triangular_distribution/cons/default.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/parms.cc [moved from libstdc++-v3/testsuite/ext/triangular_distribution/cons/parms.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/equal.cc [moved from libstdc++-v3/testsuite/ext/triangular_distribution/operators/equal.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/inequal.cc [moved from libstdc++-v3/testsuite/ext/triangular_distribution/operators/inequal.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/triangular_distribution/operators/serialize.cc [moved from libstdc++-v3/testsuite/ext/triangular_distribution/operators/serialize.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/explicit_instantiation/1.cc [moved from libstdc++-v3/testsuite/ext/triangular_distribution/requirements/explicit_instantiation/1.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/triangular_distribution/requirements/typedefs.cc [moved from libstdc++-v3/testsuite/ext/triangular_distribution/requirements/typedefs.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/default.cc [moved from libstdc++-v3/testsuite/ext/von_mises_distribution/cons/default.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/parms.cc [moved from libstdc++-v3/testsuite/ext/von_mises_distribution/cons/parms.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/equal.cc [moved from libstdc++-v3/testsuite/ext/von_mises_distribution/operators/equal.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/inequal.cc [moved from libstdc++-v3/testsuite/ext/von_mises_distribution/operators/inequal.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/von_mises_distribution/operators/serialize.cc [moved from libstdc++-v3/testsuite/ext/von_mises_distribution/operators/serialize.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/explicit_instantiation/1.cc [moved from libstdc++-v3/testsuite/ext/von_mises_distribution/requirements/explicit_instantiation/1.cc with 100% similarity]
libstdc++-v3/testsuite/ext/random/von_mises_distribution/requirements/typedefs.cc [moved from libstdc++-v3/testsuite/ext/von_mises_distribution/requirements/typedefs.cc with 100% similarity]