home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.fortran:3263 comp.unix.cray:253
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!mips!darwin.sura.net!dtix!mimsy!afterlife!relay!diamond.nswc.navy.mil!rsherme
- From: rsherme@diamond.nswc.navy.mil (Russel Shermer (R43))
- Newsgroups: comp.lang.fortran,comp.unix.cray
- Subject: Re: CRAY-YMP single precision machine constants.
- Message-ID: <1992Aug28.160058.23129@relay.nswc.navy.mil>
- Date: 28 Aug 92 16:00:58 GMT
- References: <1992Aug27.160828.18574@tamsun.tamu.edu>
- Sender: news@relay.nswc.navy.mil
- Organization: NAVSWC DD White Oak Det.
- Lines: 37
-
-
- In article <1992Aug27.160828.18574@tamsun.tamu.edu>, ssp2537@tamsun.tamu.edu (Satya Srinivas Padavala ) writes:
- |> Hi Folks,
- |>
- |> 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
- |>
- |> I would appreciate your help if you can point me where I can find these
- |> values.
- |>
- |> Thanks,
- |> Satya Padavala
- |> ssp2537@tamsun.tamu.edu
-
- I'm on a Cray-2 but, you should be able to find the max and min info
- in /usr/include in the files:
-
- limits.h
- values.h
- float.h
-
- I didn't see any spacing information. There are very simple
- algorithms for computing the machine epsilon. Basically,
- you compute the smallest number larger than 1 that the machine
- can distinguish.
-
- Hope this helps.
-
- ---Russ
-