Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!mcvax!cernvax!achille From: achille@cernvax.UUCP (achille) Newsgroups: comp.sys.apollo Subject: Re: Fortran 9.95 problem + type manager query Message-ID: <886@cernvax.UUCP> Date: 25 Nov 88 16:23:37 GMT References: <8811231951.AA29470@umix.cc.umich.edu> <745@quintus.UUCP> Reply-To: achille@cernvax.UUCP () Organization: CERN European Laboratory for Particle Physics, CH-1211 Geneva, Switzerland Lines: 25 In article <745@quintus.UUCP> ok@quintus.UUCP (Richard A. O'Keefe) writes: >In article <8811231951.AA29470@umix.cc.umich.edu> derstad@CIM-VAX.HONEYWELL.COM ("DAVE ERSTAD") writes: >> A = something >> B = DSQRT(A*A + C*C) >> D = A + B - C >> IF D = 0 jump over some code > >Just a word in defence of Apollo: I ran into the same problem with a >PR1ME 400 years ago. (Single-precision calculations were done in a >double-precision register, then truncated, except optimisation skipped >the truncation.) A similar problem also exists on Suns, which is why >they have the "-fstore" option. I think Apollo have a similar option. Yes, I think the option is -frnd (force round). You'll loose some performance that way, but at least you get what you expect. Actually we had these kind of problems starting with ftn9.66 if I remember correctly (or 9.66 provided -frnd). I'm also looking for somebody who has written some type manager using the Open System Toolkit (is that unbundled at SR10 ? :-), specifically implementing the dir trait and the extended pathnames. Is any (simple) example of such a beast available ? Achille Petrilli Cray & Personal Workstation Operations