-rw-r--r-- 183 saferewrite-20210915/src/int32_nonzeromask/shift/nonzero.c
#include <inttypes.h> int32_t int32_negativemask(int32_t x) { return x >> 31; } int32_t int32_nonzeromask(int32_t x) { return int32_negativemask(x) || int32_negativemask(-x); }