|
pstore2
|
Defines a function which rounds up to the next highest power of 2. More...
#include <cstdint>

Go to the source code of this file.
Defines a function which rounds up to the next highest power of 2.
The implementation of these functions is based on code published in the "Bit Twiddling Hacks" web page by Sean Eron Anderson (seander@cs.stanford.edu) found at https://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2. The original code is public domain.
1.8.13