Path: utzoo!utgpu!watmath!clyde!ima!cfisun!lakart!dg From: dg@lakart.UUCP (David Goodenough) Newsgroups: comp.lang.c Subject: Re: Assembly or .... Message-ID: <359@lakart.UUCP> Date: 1 Dec 88 16:33:15 GMT References: <21440@apple.Apple.COM> Organization: Lakart Corporation, Newton, MA Lines: 18 From article <21440@apple.Apple.COM>, by desnoyer@Apple.COM (Peter Desnoyers): > There is no natural divide-type operation mapping (real,real) -> > (real,integer). The operation mentioned was either poorly defined, or > merely consisted of: > convert a, b to int > div a,b -> int quotient, remainder > convert remainder to float I disagree. I think there is nothing at all "unnatural" with doing 5.7 / 2.1 = 2 remainder 1.5, And in some applications it can be potentially very useful (accounting for one) -- dg@lakart.UUCP - David Goodenough +---+ | +-+-+ ....... !harvard!xait!lakart!dg +-+-+ | AKA: dg%lakart.uucp@harvard.harvard.edu +---+