Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Rod Pemberton" Newsgroups: comp.lang.forth Subject: Re: Writing SM/REM and FM/MOD Date: Tue, 21 Apr 2015 18:32:27 -0400 Organization: Aioe.org NNTP Server Lines: 33 Message-ID: References: <8a492bc8-9c9e-465b-95e4-7d9b986ff583@googlegroups.com> NNTP-Posting-Host: n4wpt9zq8xR26Ttf9mo2BA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.forth:38462 On Tue, 21 Apr 2015 16:23:08 -0400, Julian Fondren wrote: > Can someone clearly describe, or point me to a clear description, > as to how one *implements* floored division vs. symmetric division? "Google is your friend." These links were all on the first page of results. The first three go into some detail. The last is a quick summary. "Symmetric division considered harmful" (for Forth-83) http://www.nimblemachines.com/symmetric-division-considered-harmful/ "Excerpts from Forth Programmer's Handbook #2" http://www.computer-solutions.co.uk/chipdev/fph-2.htm "Signed Integer Division" (kForth) http://ccreweb.org/software/kforth/kforth5.html "Division" (ANSForth) http://www.forth.org/ansforth/node5.html Sigh, I need to read those too ... Rod Pemberton -- Cars kill more people than guns in the U.S. Yet, no one is trying to take away your car.