Re: NaN in intel fortran 9.0 for windows integrated with VS.Net
- From: Herman D. Knoble <SkipKnobleLESS@xxxxxxxxxxxxxxx>
- Date: Tue, 30 May 2006 14:27:57 -0400
Bei: possibly you are getting NaN's because your computatons exceed
single precision Real exponent limits. If this is the case you might
consider using double precision. To see the limits and declaration
for Double (or Quad) precision see:
http://ftp.cac.psu.edu/pub/ger/fortran/hdk/machparm.f90
If this is not the case, then, as another poster pinted out,
you need to: 1) Study closer the mathematics of computation and
use algorithms in your code that avoid them; or 2) use compiler
options that causes these numerical difficulties to be flagged
as an error.
Skip Knoble
On 30 May 2006 00:07:32 -0700, "bei" <beiwang2003@xxxxxxxxx> wrote:
-|I am solving some numerical functions under intel fortran 9.0 for
-|windows integrated with VS.Net .However, my results have a lot of NaN
-|which I don't know how to handle.Most of my variable are very
-|small,like e-0003.I am wondering if it's because of my small
-|variables.Or I have something wrong with my algorithm.If I want to
-|track the variable which changes to NaN first,how can I do?
-|Any suggestion and advise about this are highly appreciated.
-|
-|Best,
-|
-|Bei
.
- Follow-Ups:
- References:
- Prev by Date: Re: Algorithm help for unique string searching/counting within an array.
- Next by Date: Re: Beginer needing help
- Previous by thread: Re: NaN in intel fortran 9.0 for windows integrated with VS.Net
- Next by thread: Re: NaN in intel fortran 9.0 for windows integrated with VS.Net
- Index(es):