diff options
author | David Rowley <drowley@postgresql.org> | 2020-04-08 18:29:51 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2020-04-08 18:29:51 +1200 |
commit | 02a2e8b442002a698336954633b0ccc4e30061e6 (patch) | |
tree | e232e8a3b0fd259c78dc6162af4a8bd3a26e94ff /src/backend/utils/adt/misc.c | |
parent | c0187869a0f6eb05135d388462522a593ced1b88 (diff) | |
download | postgresql-02a2e8b442002a698336954633b0ccc4e30061e6.tar.gz postgresql-02a2e8b442002a698336954633b0ccc4e30061e6.zip |
Modify additional power 2 calculations to use new helper functions
2nd pass of modifying various places which obtain the next power
of 2 of a number and make them use the new functions added in
f0705bb62.
In passing, also modify num_combinations(). This can be implemented
using simple bitshifting rather than looping.
Reviewed-by: John Naylor
Discussion: https://postgr.es/m/20200114173553.GE32763%40fetter.org
Diffstat (limited to 'src/backend/utils/adt/misc.c')
0 files changed, 0 insertions, 0 deletions