I have a chunk of code generated by a script, and the code involves some integer constants. I ran into a strange problem: one of the constants is equal to -2147483648 (minim
In C++ negative numbers are stored as positive number with (-) negative sign.
That is why min int is defined as,
#define INT_MIN (-2147483647 - 1)
For int C++ does not understand 2147483648. So if possible you can also write 2147483648 as (-2147483647 - 1)