libstdc++: Use double for unordered container load factors [PR 96958]
authorJonathan Wakely <jwakely@redhat.com>
Sat, 31 Oct 2020 00:52:57 +0000 (00:52 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 31 Oct 2020 00:52:57 +0000 (00:52 +0000)
commit943cc2a1b70f2d755b4fed97b1c4b49234d92899
treee80887a7fb15d206dd22375cb9650766db27e2f4
parentafb8da7faa9dfe5a0d94ed45a373d74c076784ab
libstdc++: Use double for unordered container load factors [PR 96958]

My previous commit for this PR changed the types from long double to
double, but didn't change the uses of __builtin_ceill and
__builtin_floorl. It also failed to change the non-inline functions in
src/c++11/hashtable_c++0x.cc. This should fix it properly now.

libstdc++-v3/ChangeLog:

PR libstdc++/96958
* include/bits/hashtable_policy.h (_Prime_rehash_policy)
(_Power2_rehash_policy): Use ceil and floor instead of ceill and
floorl.
* src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy): Likewise.
Use double instead of long double.
libstdc++-v3/include/bits/hashtable_policy.h
libstdc++-v3/src/c++11/hashtable_c++0x.cc