RoundingMode allows the programmer to specify in what manner floating point numbers are to be rounded. This is great and all, but there is this one thing about it I found peculiar. Maybe I just misunderstood something fundamental at school.
But this rounding mode is described as the one I was taught at school, "Always round to the nearest number, and when dead in the center, always round up.", but why does it round -2.5 to -3?
I conclude as much that it rounds up in terms of absolute values, but -2 is, to me, certainly "up" from -2.5.