#include int16_t int16_negative_mask(int16_t x) { if (x < 0) return -1; return 0; }