Related articles |
---|
Constant divisions, remainders rutt@paradise.mti.sgi.com (1992-10-20) |
Re: Constant divisions, remainders Cheryl_Lins@gateway.qm.apple.com (Cheryl Lins) (1992-10-21) |
Re: Constant divisions, remainders phillips@swanee.ee.uwa.oz.au (1992-10-23) |
Re: Constant divisions, remainders kelsey@flora.ccs.northeastern.edu (1992-10-27) |
Re: Constant divisions, remainders torbenm@diku.dk (1992-11-02) |
Re: Constant divisions, remainders joe@babel.ho.att.com (1992-11-05) |
Re: Constant divisions, remainders henry@zoo.toronto.edu (1992-11-08) |
Re: Constant divisions, remainders jones@pyrite.cs.uiowa.edu (1992-11-11) |
Re: Constant divisions, remainders nickh@CS.CMU.EDU (1992-11-11) |
Re: Constant divisions, remainders preston@miranda.cs.rice.edu (1992-11-11) |
Re: Constant divisions, remainders jlg@cochiti.lanl.gov (1992-11-12) |
Re: Constant divisions, remainders corbett@lupa.Eng.Sun.COM (1992-11-12) |
Re: Constant divisions, remainders jfc@athena.mit.edu (1992-11-16) |
Newsgroups: | comp.compilers |
From: | henry@zoo.toronto.edu (Henry Spencer) |
Organization: | U of Toronto Zoology |
Date: | Sun, 8 Nov 1992 04:39:53 GMT |
References: | 92-10-075 92-11-006 |
Keywords: | arithmetic, comment |
torbenm@diku.dk (Torben AEgidius Mogensen) writes:
>I think the round-to-zero rule for div and signed mod are relics from ones
>complement computers, and should be laid to rest.
Actually, I seem to recall that it is specifically a relic of FORTRAN,
which made a fairly arbitrary decision for the sake of well-defined
behavior, and has been too influential for machine designers to ignore
ever since.
--
Henry Spencer @ U of Toronto Zoology, henry@zoo.toronto.edu utzoo!henry
[Probably was based on the instruction set of the IBM 704. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.