qh_is_pwr_of_2_s64()
QNX SDP8.0QNX Helpers Developer's GuideAPIDeveloper
Return whether the absolute value of an int64_t value is a power of two
Synopsis:
#include <qh/misc.h>static bool qh_is_pwr_of_2_s64(const int64_t val)Library:
qhReturns:
Returns true if the absolute value is a power of two; otherwise, false.
Page updated:
