Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!seismo!mcvax!ukc!kcl-cs!glasgow!taylor From: taylor@glasgow.UUCP Newsgroups: net.arch Subject: Re: Integer division Message-ID: <389@glasgow.glasgow.UUCP> Date: Mon, 17-Feb-86 12:04:40 EST Article-I.D.: glasgow.389 Posted: Mon Feb 17 12:04:40 1986 Date-Received: Fri, 28-Feb-86 08:40:29 EST References: <11610@ucbvax.BERKELEY.EDU> <5100003@ccvaxa> <548@ism780c.UUCP> Reply-To: taylor@glasgow.UUCP (Jem Taylor) Organization: Comp Sci Dept, Glasgow Univ, Scotland Lines: 9 During my undergraduate days, one of the Great Men who taught us suggested, seriously I think, that rounding should be up OR down AT RANDOM, with a 50/50 chance. This would remove systematic errors introduced by rounding in iteractive algorithms. ( which way do you round 0.5 is the hardest question; 0.5000001 and 0.4999999 are much easier.) -Jem. #include