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