On Sat Sep 16 08:01:08 2023 +0000, Bartosz Kosiorek wrote:
I have added scaling test 251%. Now it is clearly visible that image with 250% scaling is shifted to left and with 251% is shifted to the right.
"Banker's rounding" is the term I usually hear for this: round to nearest, but for ###.5 it rounds down if ### is even and up if ### is odd. It is considered more numerically stable when summing large sets of values, so it's very common in financial and statistics contexts. As such, it shows up lots of places in computing, and it's the default for .NET's Math.Round(). https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_even