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