Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Rounding a number to nearest even
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mark Dickinson, post: 3534396"] Have you considered the fact that the real numbers of the form 1.xxxxx... are those in the range [1.0, 2.0], including *both* endpoints? That is, 2.0 = 1.999999... Similarly, the midpoint of this range can be written both in the form 1.500000... and 1.499999... This is relevant if you think of rounding as an operation on *decimal representations* of real numbers rather than as an operation on real numbers themselves. I'm not sure which point of view you're taking here. Either way, your arguments don't change the fact that the average rounding error is strictly positive for positive quantized results, under round-half-away-from-zero. Mark [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Rounding a number to nearest even
Top