-rw-r--r-- 94 saferewrite-20240807/src/uint8_topbit_mask/ref/topbit_mask.c raw#include <inttypes.h> uint8_t uint8_topbit_mask(uint8_t x) { x >>= 7; return -(1 & x); }