Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.szaf.org!news.gnuher.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Bernd Paysan Newsgroups: comp.lang.forth Subject: Re: PICK changed from 1-based to 0-based? Date: Sun, 05 Jan 2014 15:11:10 +0100 Organization: 1&1 Internet AG Lines: 21 Message-ID: References: <7xvby8f6md.fsf@ruckus.brouhaha.com> <52bff96e$0$2861$e4fe514c@news2.news.xs4all.nl> <52c05cfd$0$2919$e4fe514c@news2.news.xs4all.nl> <52c42581$0$2875$e4fe514c@news2.news.xs4all.nl> <2014Jan3.152213@mips.complang.tuwien.ac.at> <52c9431d.1036475884@news.demon.co.uk> <6ZGdnef-1Pt70VTPnZ2dnUVZ_qGdnZ2d@supernews.com> NNTP-Posting-Host: p5dcd6c86.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: online.de 1388931070 1493 93.205.108.134 (5 Jan 2014 14:11:10 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Sun, 5 Jan 2014 14:11:10 +0000 (UTC) User-Agent: KNode/4.11.3 Xref: csiph.com comp.lang.forth:27687 Andrew Haley wrote: > Why do you think anything else has changed? I suppose more processors > have signed DIV instructions, but even where they exist the difference > with floored division isn't that great, is it? The speed relation is unsigned < floor(d/u) < symmetric < floored but the differences are rather small. If speed was the argument, floor(d/u) would be the winner: It has no bumps, is mathematically sound, and nobody divides by negative numbers - the case that you divide by a fractional number which represents [0..1[ is more likely, and then you need the full range of u. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://bernd-paysan.de/