Minor refactoring in <bit> header
authorJonathan Wakely <jwakely@redhat.com>
Tue, 24 Jul 2018 13:51:50 +0000 (14:51 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 24 Jul 2018 13:51:50 +0000 (14:51 +0100)
commit337dc307549968ed56e0ef7a60331e8a69e25b56
tree024855972d0d8d4f85c235b3fe41220e01c95868
parent6ec96dcb6b829b33c5d779fc19af7601c9ac1604
Minor refactoring in <bit> header

* include/std/bit (__countl_zero, __countr_zero, __popcount): Use
local variables for number of digits instead of type aliases.
(__log2p1): Remove redundant branch also checked in __countl_zero.

From-SVN: r262947
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/bit