As opposed to positive AND negative mumbers. Perhaps Veracity's statement would have been clearer if she'd written XOR instead of using words?
I also would've accepted NAND
It only really becomes an issue if you are rounding large sets of numbers, which I would cringe at if you were using my function to do so
If cumulative error is a concern, do all your calculations on a set first and finally round the result once, before outputting to the user.
Bad:
Code:
a = Round(1.5)
b = Round(2.5)
c = Round(a+b)
print c
Good:
Code:
a = 1.5
b = 2.5
c = a+b
print round(c)