-rw-r--r-- 91 saferewrite-20241004/src/int8_topbit_mask/ref/topbit_mask.c raw
#include <inttypes.h> int8_t int8_topbit_mask(int8_t x) { x >>= 7; return -(1 & x); }