• Since this thread is so long, I think it's about time for a recap for those joining us late. Sergiy will be identified as "Giordy" for this purpose, while everyone else will be identified as the "Inquisition" (if you must ask, you need to read the whole thread. Sorry).

    Inquisition: I'm trying to figure out a problem with this banker's rounding function.

    Giordy: Banxxor's rounding r teh stoopid.

    Inquisition: It's merely a methodology for reducing bias in large sets of rounded numbers

    Giordy: No it's not, but if you prove me wrong, I'll admit it, unless your evidence is actually convincing, in which case I have a hole to dig.

    Inquisition: If you say so. It's pretty easy to demonstrate you're wrong, though.

    Giordy: The "real world".

    Inquisition: What does a crappy little MTV show have to do with rounding?

    Giordy: Really? Try this test and you'll see I'm right.

    Inquisition: We ran the test and it shows you are wrong. In fact, here is the code demonstrating that, and the resulting numbers to back that up. Here's another test using random numbers which shows the same thing.

    Giordy: Yes, but did you run it at midnight? And did you chant the words "midnight event" three times while dancing in an imprecise circle? Huh, did you?

    Inquisition: WTF?

    Giordy: I'm wearing way too much tinfoil on my head for you to convince me of this rounding method.

    Inquisition: WTF?

    Giordy: Okay, here's some more code to show that I'm right.

    Inquisition: Um, just like last time, that code shows banker's rounding to do a wonderful job, versus traditional rounding, and here are the numbers demonstrating that.

    Giordy: Ah hah, you thought those numbers I provided were the numbers I wanted you to test with. No sirree, those numbers were fake numbers, and only I knew the real numbers. You'll have to trust me that the real numbers that I didn't share with you do indeed prove me right. If only I wasn't afraid that you'd steal them from me, I'd share them, and you'd all see the light.

    Inquisition (backing away slowly): Okie dokie

    Giordy: I'm a martyr, and one day, when you are all past the age of 30 years and 6 months, you'll all wish you hadn't burned me at the stake.

    Inquisition: Anyone up for some pie?