java - Math.abs returns wrong value for Integer.Min_VALUE - Stack Overflow
Here is what Java doc says for Math.abs() in javadoc: Note that if the argument is equal to the value of Integer.MIN_VALUE, the most negative representable int value, the result is that same value, which is negative....