This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: subnormal numbers?
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Date: Sat, 12 Jun 2004 19:33:48 +0100
- Subject: Re: subnormal numbers?
- Organization: CodeSourcery
- References: <20040612180238.GA6196@troutmask.apl.washington.edu>
On Saturday 12 June 2004 19:02, Steve Kargl wrote:
> Does gfortran do anything special with subnormal numbers?
No. I think the runtime library routines handle them properly, although there
may be some bugs. The compile time arithmetic doesn't even do correct
rounding, let alone correct handling of subnormal numbers.
Subnormal are outside the range of defined values, so are technically illegal
(Section 7.1.7). I suspect we already report underflow for these values.
Paul