-rw-r--r-- 92 saferewrite-20240807/src/int32_topbit_01/ref/topbit_mask.c raw#include <inttypes.h> int32_t int32_topbit_01(int32_t x) { x >>= 31; return (1 & x); }