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