-rw-r--r-- 184 saferewrite-20210915/src/int32_positivemask/shift2/positive.c
#include <inttypes.h> int32_t int32_negativemask(int32_t x) { return x >> 31; } int32_t int32_positivemask(int32_t x) { if (x == -x) return 0; return int32_negativemask(-x); }