MobilityDB 1.3
Loading...
Searching...
No Matches

◆ is_power_of_two()

static bool is_power_of_two ( const int  n)
inlinestatic

Checks if a number bigger than 0 is a power of two or not.

Parameters
[in]nNumber to check
Returns
True if n is a power of two, False otherwise.