Article View: comp.sys.mac
Article #15983Floating-Point Precision
From: Richard Siegel
Date: Thu, 07 May 1987 12:07
Date: Thu, 07 May 1987 12:07
25 lines
1270 bytes
1270 bytes
The MS Fortran floating-point routines handle single and double precision
real numbers -- 32 and 64 bits, in the same IEEE standard
format as SANE does. The Mac's SANE routines coerce everything to 80
bits when operating; this is why Extended variables run faster
in computations that REAL variables or Double variables -- up to
a factor of 4 for simple math.
If you use that Pascal REAL type now, you won't notice any loss of precision
if you use the Fortran math routines.
--Rich
Richard M. Siegel
Materials Characterization Instrumentation Section
Mail Stop 231
NASA/Langley Research Center
Hampton, Virginia 23665
(804) 865-3036
Arpanet: rs4u@andrew.cmu.edu
Uucp: {your fave gateway}!seismo!andrew.cmu.edu!rs4u
Disclaimer? I don't even KNOW 'er!
Technical Details
Message-ID:
<IUc7YAy00UhTz2w0i1@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!ANDREW.CMU.EDU!rs4u#Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!ANDREW.CMU.EDU!rs4u# From: rs4u#@ANDREW.CMU.EDU (Richard Siegel) Newsgroups: comp.sys.mac Subject: Floating-Point Precision Message-ID: <IUc7YAy00UhTz2w0i1@andrew.cmu.edu> Date: Thu, 7-May-87 08:07:40 EDT Article-I.D.: andrew.IUc7YAy00UhTz2w0i1 Posted: Thu May 7 08:07:40 1987 Date-Received: Sat, 9-May-87 02:47:50 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 25