#define INTMAX_MAX INT64_MAX 

largest positive value an intmax_t can hold.