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

◆ is_power_of_two()

static bool is_power_of_two ( const int  n)
inlinestatic

Returns true if a number greater than 0 is a power of two, false otherwise.

Parameters
[in]nNumber to check