>
> Of course you can do it yourself - make a loop with Selected Real Kind using
> increasing argument values until the result returns -1 and then you know you
> have gone too far. If you want both precision and exponent ranges, you have
> to do a two-dimensional search.
>
> It would make a great homework problem. I'm sure I read it somewhere once
> (or wrote it myself?) but I can't put my finger on it at the moment.
The book "Migrating to Fortran 90" by James F. Kerrigan (O'Reilly)
has a Chapter 9 - Numeric Models. Seeing you are mentioned in the
acknowledgements as a reviewer I guess that you are remembering
the program "numeric.f90" which 'can be used to force a particular
compiler on a particular system to display its numerical
aptitude'. It does what you suggest - and more.
The book is unfortunately out of print. But all the code examples
(including numeric.f90) are available from the URL:
ftp://ftp.ora.com/published/oreilly/nutshell/fortran90/
=====================================================================
Arne Kure, Email: [log in to unmask]
Computing Centre for Water Research, Tel: (033) 2605175
c/o University of Natal, Fax: (033) 2606288
Private Bag X01, Home: (033) 3473050
Scottsville, 3209, South Africa
======================================================================
>
> = Loren P Meissner
> Genealogist Barbara Yancey Dore asks:
> Can a first cousin, once removed, ever return?
>
>
> -----Original Message-----
> From: [log in to unmask]
> [mailto:[log in to unmask]] On Behalf Of Robert Kernell
> Sent: Tuesday, October 24, 2000 12:57 PM
> To: [log in to unmask]
> Subject: Fortran man page on Unix
>
> Hi. I am teaching a Fortran course at work. We use Unix. I need to find the
> values for the kind parameters on our system. Our systems guy is gone right
> now. At the bottom of the f90 man page it has a "see also" section, and
> under it are listed things like Fortran User's Guide, Fortran Programmer's
> Guide, etc. Are these things available on Unix, and if so, how do I get to
> them? I want to look in them to find the kind parameter values.
>
> Bob Kernell
> Research Scientist
> Surface Validation Group AS&M, Inc.
>
> email: [log in to unmask]
> tel: 757-827-4631
>
>
>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|