std1.0.0-beta-7 SafeC docs

std :: bit

Function std::is_pow2

#include <std/bit.h> source ยท definition

int is_pow2(unsigned long long x)

Return 1 if x is a power of two (x > 0).