-rw-r--r-- 231 saferewrite-20210904/src/int32_smallermask/bitops/smaller.c
#include <inttypes.h> int32_t int32_negativemask(int32_t x) { return x >> 31; } int32_t int32_smallermask(int32_t x,int32_t y) { int32_t xy = x ^ y; int32_t c = x - y; c ^= xy & (c ^ x); return int32_negativemask(c); }