OSDN Git Service

2011-07-24 Fran├žois Dumont <francois.cppdevs@free.fr>
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jul 2011 19:20:26 +0000 (19:20 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jul 2011 19:20:26 +0000 (19:20 +0000)
commit5d25efc0fd72fef10dbc606561fade95f2c99a88
tree3c6db059c61b19aac2c1e494763ccf3d46584377
parente026bfe8b77d152edd035c38ed251fdbec237b4c
2011-07-24  Fran├žois Dumont  <francois.cppdevs@free.fr>

        * include/bits/hashtable_policy.h (_Prime_rehash_policy): Use
        __builtin_floor rather than __builtin_ceil to compute next resize
        value.
        * testsuite/23_containers/unordered_set/hash_policy/load_factor.cc:
        New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176717 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable_policy.h
libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/load_factor.cc [new file with mode: 0644]