Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ncar!pvi!karenk From: karenk@pvi.UUCP (Karen Kruse) Newsgroups: comp.lang.fortran Subject: FORTRAN algorithm to determine machine properties Message-ID: <245@pvi.UUCP> Date: 7 Apr 89 23:00:08 GMT Reply-To: karenk@boulder.Colorado.EDU (Karen Kruse) Organization: Precision Visuals Inc., Boulder, Colorado Lines: 26 I am requesting information about a Standard FORTRAN algorithm I have heard about which will return values for the items listed below on different machines (with my main concern right now being UNIX machines): - number of bits per character - number of bits per byte - number of bits per integer - max line length for formatted sequential disk I/O - max line length for formatted terminal I/O - number of significant digits in a real number - smallest positive real - largest positive real - largest real that can be converted to integer - largest (in absolute value) negative real - smallest (in absolute value) negative real - smallest (most negative) integer - largest (most positive) integer Information on any part of this would be a great help! Thanks in advance, Karen Kruse