The code is used to round numbers to next even value; rounding positive numbers up and negative numbers down: for example
7 becomes 8
12 remains 12
-7 becomes -8
it works by adding or subtracting the last bit of the value that is 1 for odd numbers or 0 for even numbers.