r/programming • • Nov 24 '16

A Rebuttal For Python 3

https://eev.ee/blog/2016/11/23/a-rebuttal-for-python-3/
383 Upvotes

218 comments sorted by

View all comments

Show parent comments

0

u/queenkid1 Nov 24 '16

Rounding 0.5 upwards all the time has a slight bias towards the higher number, which is evident when doing any kind of statistics.

This confuses me. How does changing to rounding down fix this problem? Would it not just make lower numbers have a slight bias? Since 0.1 - 0.9 contains an odd number of values, won't there never be an equal chance?

7

u/[deleted] Nov 24 '16 edited Nov 24 '16

[removed] — view removed comment

2

u/queenkid1 Nov 24 '16

I hadn't realized it relied on the parity of the numbers, that's confusing but also smart.

0

u/stesch Nov 24 '16

Smart if Python wouldn't be a multi purpose language and only specialized in statistics.

→ More replies (5)