Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!texbell!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.forth Subject: Re: More division Message-ID: <6E:4YR8@xds13.ferranti.com> Date: 3 Aug 90 22:39:14 GMT References: <9008011406.AA07845@ucbvax.Berkeley.EDU> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 8 Recently I came across an interesting note in the user manual for the M2Amiga modula-2 compiler on the Amiga. They state that in M2Amiga "DIV" and "MOD" have been defined to do division floored to -infinity, and that "/" and "REM" produced the normal Wirthian functions. Sound familiar? What does ANSI Forth say about the modulus operator? It should be defined to be consistent with the division operator, no? -- Peter da Silva. `-_-' +1 713 274 5180. 'U`