Integer.MIN_VALUE already has this value assigned to it - defined by Java. You should be able to just remove those two lines entirely, and it should be fine.
If you look at the method signatures for Math.round(), the one that accepts
a float as an argument returns an int value (the nearest int), hence -2147483648
so your number's magnitude is at best accurate to about 7 digits.
hi, its not clear to me , how you are calculating this output ?
float f7 = -2147483655f;
see , the last two digit of f7 ..its 55..ok.The output i have got having last two digit 48....clearly these are not nearest integer. so, i think your explanation is not correct.