This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: bug fc022
On Sat, Apr 09, 2005 at 05:01:04PM -0700, Steve Kargl wrote:
> On Sat, Apr 09, 2005 at 04:52:38PM -0700, Walt Brainerd wrote:
> > program fc022
> >
> > T = TINY (X = 0.0d0)
> >
> > end program fc022
>
> Can you explain? TINY(X=0.0d0) is going to
> return 2.225073858507201E-308. When you
> try to set the default real T to that value
> it will underflow.
>
I forgot to add if you don't a warning for underflow
(which can be a sign of programming bogons), then
you can use -Wno-underflow option.
--
Steve