From: Paul DeMone <PaulDeMone@EasyInternet.net>
Subject: Re: Problems with overflows in DEC Fortran 90
Date: 1997/04/07 [thread overview]
Message-ID: <3349AD6D.64C8@EasyInternet.net> (raw)
In-Reply-To: 334926C4.41C6@latoso.cheme.cornell.edu
Jeffrey Potoff wrote:
>
> I'm running DEC Fortran 90 under Digital Unix and it's having
> a hard time digesting numbers with large exponents. If I do
> this:
>
> program crap
>
> double precision test
>
> test = 1e100
>
> end
>
> When I compile it gives me:
>
> 90: Error: crap.f, line 5: When converting this constant to a
> REAL(KIND=4) number, underflow or overflow occurred. [1E100]
> test = 1e100
>
> ????? Under IBM's xlf I can run exponents up the 300. Is there
> a way around this besides rewritting huge amounts of code.
> I'm hoping that I'm just missing something simple.
No suprise if xlf is mianframe based. The 360 family and its
descendents use a base 16 floating point representation. This
buys larger range of exponents at cost of precision and slightly
more complex FP hardware.
>
> Jeff
--
Paul W. DeMone The 801 experiment SPARCed an ARMs race
Kanata, Ontario to put more PRECISION and POWER into
demone@mosaid.com architectures with MIPSed results but
PaulDeMone@EasyInternet.net ALPHA's well that ends well.
next prev parent reply other threads:[~1997-04-07 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-07 4:00 Problems with overflows in DEC Fortran 90 Jeffrey Potoff
1997-04-07 4:00 ` Steve Lionel
1997-04-07 4:00 ` Jeffrey Potoff
1997-04-07 4:00 ` Paul DeMone [this message]
1997-04-08 4:00 ` Steve Lionel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox