Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
for IO operations More...
Functions | |
uint64_t | next_higher_number (uint64_t x) |
The main function implements checking the next number. | |
bool | isPowerOfTwo (std ::int64_t n) |
The main function implements check for power of 2. | |
for IO operations
Bit manipulation algorithms.
for io operations
storing the numbers
for assert
Bit manipulation algorithms
for assert for IO operations
Bit manipulation algorithms
for assert
Bit Manipulation algorithms
for std::min for assert for IO operations for limits of integral types for std::vector
bool bit_manipulation::isPowerOfTwo | ( | std ::int64_t | n | ) |
The main function implements check for power of 2.
n | is the number who will be checked |
uint64_t bit_manipulation::next_higher_number | ( | uint64_t | x | ) |
The main function implements checking the next number.
x | the number that will be calculated |