-rw-r--r-- 98 saferewrite-20241004/src/uint32_topbit_mask/ref/topbit_mask.c raw
#include <inttypes.h> uint32_t uint32_topbit_mask(uint32_t x) { x >>= 31; return -(1 & x); }