-rw-r--r-- 182 saferewrite-20210903/src/int32_nonzeromask/shift3/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); }