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