#define INTMAX_MIN INT64_MIN 

smallest negative value an intmax_t can hold.