home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!rpi!usc!news.service.uci.edu!beckman.com!dn66!a_rubin
- Newsgroups: sci.math
- Subject: Re: Rounding Rules
- Message-ID: <a_rubin.726185517@dn66>
- From: a_rubin@dsg4.dse.beckman.com (Arthur Rubin)
- Date: 4 Jan 93 22:11:57 GMT
- References: <1992Dec20.003018.14325@sol.ctr.columbia.edu> <1992Dec23.140148.21009@hubcap.clemson.edu> <1993Jan4.142226.9639@iscsvax.uni.edu>
- Organization: Beckman Instruments, Inc.
- Nntp-Posting-Host: dn66.dse.beckman.com
- Lines: 35
-
- In <1993Jan4.142226.9639@iscsvax.uni.edu> kraai4712@iscsvax.uni.edu writes:
-
- >In article <1992Dec23.140148.21009@hubcap.clemson.edu>, steve@hubcap.clemson.edu ("Steve" Stevenson) writes:
- >> In article <1992Dec20.003018.14325@sol.ctr.columbia.edu> shaw@toadflax.UCDavis.EDU (Rob Shaw) writes:
- >>>What is the rationale behind the following rounding rule?
- >>>
- >>>when dealing with 5's followed by all zero's, check the
- >>>next digit to the left. If it's even, round down; odd,
- >>>round up.
- >>>
- >>>For example both 1.13500 and 1.14500 are 1.14 to 3 places.
- >>>What is the advantage of having the interval closed at both
- >>>ends around even digits, and open at both ends around odds?
- >>>
- >>
- >> The problem with many of the "rounding rules" is that they are biased.
- >> In the IEEE round of rules, an attempt is made to make rounding as unbiased
- >> as possible. Round to even is specified as the rule of choice, since it
- >> avoids many of the problems of "round to infinity" or "round towards zero".
-
- >My personal favorite rounding rule is to round anything that has {0,1,2,3,4} in
- >the "rounding place" "down" and anything that has {5,6,7,8,9} "up". So as in
- >the previous example, 1.13500 would be rounded to 1.14 and 1.14500 would be
- >rounded to 1.15.
-
- >To this my teachers always gasped that this method was biased, and no amount of
- >pursuasion using the above-mentioned sets could pursuade them.
-
- Well, it IS biased. Rounding n places is biased by +1/2 10^-n.
-
- --
- Arthur L. Rubin: a_rubin@dsg4.dse.beckman.com (work) Beckman Instruments/Brea
- 216-5888@mcimail.com 70707.453@compuserve.com arthur@pnet01.cts.com (personal)
- My opinions are my own, and do not represent those of my employer.
- My interaction with our news system is unstable; please mail anything important.
-