utils/general.h file

Contents

General utils.

Functions

auto utils_get_uint_from_bitfield_val(unsigned int bitfield) -> unsigned int
From https://graphics.stanford.edu/~seander/bithacks.html#ZerosOnRightLinear.