#define PTRDIFF_MAX INT16_MAX 

largest positive value a ptrdiff_t can hold.