piclist 2001\05\31\123502a >
Thread: Brain Burp Rounding??
www.piclist.com/techref/index.htm?key=brain+burp+rounding
flavicon
face BY : Roman Black email (remove spam text)



David W. Gulley wrote:
>
> To say "NO!" is a bit emphatic, since I could just as well say that we
> will only truncate numbers, which would provide an answer which may be
> fine for some conditions.
>
> I understand your logic; but this is still including 500 numbers below
> the "rounded to" value and 499 above, therefore (and I repeat)
> statistically, you are favoring the round up when given a random set of
> values.


I don't understand your logic?? There are 500 values,
ie, 000 to 499, then there are 500 values in the top
half, ie, 500 to 999. The dividing point is *immediately*
before 500, ie, 499.999999999999999 (forever)

So if it starts with a 5 it absolutely must be in the
top half. There is no favoring, just accuracy.
-Roman

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamBeGonespamSTOPspammitvma.mit.edu


<3B1671CB.34A7@ezy.net.au> 7bit

See also: www.piclist.com/techref/index.htm?key=brain+burp+rounding
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Brain Burp Rounding??

month overview.

new search...