Live data from Hacker News

Python 3 rounds 14.5 down to 14 (i.e. rounds .5 toward even numbers)

reddit.com

1–4 of 4 posts

Re: Python 3 rounds 14.5 down to 14 (i.e. rounds .5 toward even numbers)

#2
Okay, I'll bite: Python programmer doesn't know how IEEE rounding (IOW, every programming language of which I'm aware) works, announces ignorance to the world. And this is on HN why...? I ask that sincerely, not the usual snarky "passive-aggressively stating that I don't think this should be on HN" way. What object lesson did I miss?

Re: Python 3 rounds 14.5 down to 14 (i.e. rounds .5 toward even numbers)

#3
post #2

Okay, I'll bite: Python programmer doesn't know how IEEE rounding (IOW, every programming language of which I'm aware) works, announces ignorance to the world. And this is on HN why...? I ask that sincerely, not the usual snarky "passive-aggressively stating that I don't think this should be on HN" way. What object lesson did I miss?

The way the title was phrased made it seem like there was a weird bug that only affected the number 14. Extremely bad title.

Re: Python 3 rounds 14.5 down to 14 (i.e. rounds .5 toward even numbers)

#4
post #3
post #2

Okay, I'll bite: Python programmer doesn't know how IEEE rounding (IOW, every programming language of which I'm aware) works, announces ignorance to the world. And this is on HN why...? I ask that sincerely, not the usual snarky "passive-aggressively stating that I don't think this should be on HN" way. What object lesson did I miss?

The way the title was phrased made it seem like there was a weird bug that only affected the number 14. Extremely bad title.

Good an explanation as any, and kind of how I initially read it. Thanks.