Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!SUN.COM!wmb From: wmb@SUN.COM Newsgroups: comp.lang.forth Subject: Floored Division Message-ID: <8907061745.AA08474@jade.berkeley.edu> Date: 6 Jul 89 17:29:44 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Forth Interest Group International List Organization: The Internet Lines: 20 The solution to the floored vs. not floored division problem is so simple that I have trouble believing all the furor. Have both. Since Forth 83 is floored, "/" should continue to be floored. Then add a standard word: NF/MOD Non-floored division/modulus The code to implement this in terms of the floored /MOD should be published in the standard, for reference. This way, programs which require floored division can use it, and programs which require non-floored division can use it. Trying to make too few words do too many things is the guaranteed way to make programs non portable. Mitch