For most integer types, the minimum will be 1 "larger" than the max, right?
Like the range for long long is -9223372036854775808 to 9223372036854775807. When I'm running my program, why is it that both -9223372036854775808 and 9223372036854775808 give me a compiler warning and cause errors, as opposed to only the intmax_t max?
Because the intmax_t min should be valid at -9223372036854775808, no?
Edit: I also tried 9223372036854775807 and -9223372036854775807, they both work fine.