This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: fix execute/intrinsic_nearest.f90
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: fortran at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 31 Jul 2004 21:36:04 +0200
- Subject: Re: fix execute/intrinsic_nearest.f90
- Organization: Moene Computational Physics, Maartensdijk, NL
- References: <20040730182834.GA27652@redhat.com> <200407302148.18246.paul@codesourcery.com>
Paul Brook wrote:
This breaks on systems that round denormals to zero (mips), hence the current
use of TINY. Subnormal numbers are at best a grey area of the fortran
standard.
You bet. Quoting paragraph 1.4 of the upcoming Fortran 2003 Standard
(which excludes things specified by the standard):
1.4 Exclusions.
...
(6) The physical properties of the representation of quantities and
method of rounding, approximating or computing numeric values on
a particular processor,
...
Note that in Fortranesque parlance, "processor" refers to anything
converting the program as written into computation, including, but not
limited to a person-in-a-box scribbling decimal computations on paper.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/