#include int64_t int64_negative_mask(int64_t x) { if (x < 0) return -1; return 0; }