home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.fortran:3293 comp.unix.cray:257
- Path: sparky!uunet!crdgw1!uakari.primate.wisc.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!dslg0849
- From: d-lewart@uiuc.edu (Daniel S. Lewart)
- Newsgroups: comp.lang.fortran,comp.unix.cray
- Subject: Re: CRAY-YMP single precision machine constants.
- Message-ID: <Btu8Kr.7KH@news.cso.uiuc.edu>
- Date: 31 Aug 92 07:53:13 GMT
- References: <1992Aug27.160828.18574@tamsun.tamu.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: d-lewart@uiuc.edu (Daniel S. Lewart)
- Organization: University of Illinois at Urbana
- Lines: 37
- Originator: dslg0849@uxa.cso.uiuc.edu
-
- ssp2537@tamsun.tamu.edu (Satya Srinivas Padavala) writes:
-
- > I am wondering if any knowledgeable soul could help me with the following
- > problem. I have been using in my code, BLAS (Basic Linear Algebra Subprograms),
- > which are routines called by public domain math packages such as LINPACK,
- > EISPACK etc. I have recently started working on a CRAY-YMP and am need of the
- > following machine constants for single precision for that machine.
-
- > 1) Smallest positive magintude
- > 2) Largest positive magnitude
- > 3) Smallest relative spacing
- > 4) Largest relative spacing
- -------------------------------------------------------------------------------
- *
- *
- *
- * Print machine constants, by Daniel S. Lewart (d-lewart@uiuc.edu).
- *
- print 200, r1mach(1)
- print 210, r1mach(2)
- print 220, r1mach(3)
- print 230, r1mach(4)
-
- 200 format ( 'Smallest positive magnitude =', 1p, e17.9 )
- 210 format ( 'Largest positive magnitude =', 1p, e17.9 )
- 220 format ( 'Smallest relative spacing =', 1p, e16.9 )
- 230 format ( 'Largest relative spacing =', 1p, e16.9 )
-
- end
- -------------------------------------------------------------------------------
- Smallest positive magnitude = 3.667207735-2466
- Largest positive magnitude = 2.726870339+2465
- Smallest relative spacing = 7.105427358E-15
- Largest relative spacing = 1.421085472E-14
- -------------------------------------------------------------------------------
- Daniel Lewart
- d-lewart@uiuc.edu
-