Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!wuarchive!decwrl!sgi!davea@quasar.wpd.sgi.com From: davea@quasar.wpd.sgi.com (David B. Anderson) Newsgroups: comp.sys.sgi Subject: Re: Binary representation of REAL #'s VAX vs.IRIS Summary: Floating point is in IEEE 754 format . Message-ID: <47537@sgi.sgi.com> Date: 5 Jan 90 16:43:50 GMT References: <90Jan4.144239est.57496@ugw.utcs.utoronto.ca> Sender: davea@quasar.wpd.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 14 In article <90Jan4.144239est.57496@ugw.utcs.utoronto.ca>, SERRER@nrcm3.nrc.ca (Martin Serrer - Systems Manager) writes: [other lines deleted] > written such a piece of code?? How are reals stored on the IRIS?? Like all MIPS based machines, the 4D format is ANSI/IEEE Std 754-1985. IEEE Standard for Binary Floating-Point Arithmetic Fortran REAL is stored as what the standard calls Single (32 bit). Fortran DOUBLE PRECISION is stored as what the standard calls Double (64 bit). See the standard for details. Regards, [ David B. Anderson Silicon Graphics (415)335-1548 davea@sgi.com ]