random.tcc (uniform_on_sphere_helper): Define.
authorUlrich Drepper <drepper@gmail.com>
Sat, 9 Aug 2014 17:56:57 +0000 (17:56 +0000)
committerUlrich Drepper <drepper@gcc.gnu.org>
Sat, 9 Aug 2014 17:56:57 +0000 (17:56 +0000)
commit83a4216dd29316ed9a95931b306ea415664acf51
treefe2db3e1f114899d237246f8880766ed03556483
parent42ee80b92069984df4ae2eb71cee2623aaf530c8
random.tcc (uniform_on_sphere_helper): Define.

        * include/ext/random.tcc (uniform_on_sphere_helper): Define.
        (uniform_on_sphere_distribution::operator()): Use the new helper
        class for the implementation.

        * testsuite/ext/random/uniform_on_sphere_distribution/operators/
        equal.cc: Remove bogus part of comment.
        * testsuite/ext/random/uniform_on_sphere_distribution/operators/
        inequal.cc: Likewise.
        * testsuite/ext/random/uniform_on_sphere_distribution/operators/
        serialize.cc: Add check to verify result of serialzation and
        deserialization.
        * testsuite/ext/random/uniform_on_sphere_distribution/operators/
        generate.cc: New file.

From-SVN: r213779
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/random.tcc
libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/equal.cc
libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/generate.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/inequal.cc
libstdc++-v3/testsuite/ext/random/uniform_on_sphere_distribution/operators/serialize.cc