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: 3534241"] No: if you interpret average to mean 'mean' (add up the (signed) rounding errors from the 20 cases you list and divide by 20) you'll find that the average rounding error is indeed 0 for round-half-to- even, and 0.05 for round-half-away-from-0, just as Mikael said. I'm not sure you'll get many takers for this point of view. If X is a random variable uniformly distributed on the interval [0, 1) then the probability that X == 0.5 is indeed exactly 0, using conventional definitions. (And if you're not using conventional definitions, you should say so....) Mark [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Rounding a number to nearest even
Top