hashtable_policy.h (_Prime_rehash_policy): Use __builtin_floor rather than __builtin_...
authorFrançois Dumont <francois.cppdevs@free.fr>
Sun, 24 Jul 2011 19:20:26 +0000 (21:20 +0200)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 24 Jul 2011 19:20:26 +0000 (19:20 +0000)
commit4f7b188f20a89a28a72f702b4d34b82894a1dd5f
tree3c6db059c61b19aac2c1e494763ccf3d46584377
parent7d5997c66ce2a2463f8a911f6217c30759f765ce
hashtable_policy.h (_Prime_rehash_policy): Use __builtin_floor rather than __builtin_ceil to compute next resize value.

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.

From-SVN: r176717
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]