i was experimenting with ExpectedException attribute of NUnit when i noticed that a DivideByZeroException was not thrown when a division by zero was done within variables of type double. instead, i got a PositiveInfinity quotient for my sample routine so I consulted the docs and it was another IEE standard...
Back in grade school (Third Grade if I can remember it correctly), rounding off a number which is exactly in between (halfway) follows the “nearest even rule”. Rounding off 0.5 and 1.5 to their nearest units digit gives: 2.5 -> 2 3.5 -> 4 After that, perhaps in high school, a new rule was presented...