Re: NAN and INF again ...
- From: Herman D. Knoble <SkipKnobleLESS@xxxxxxxxxxxxxxx>
- Date: Fri, 13 Jul 2007 07:42:38 -0400
Ralf: You might see the references listed at:
http://ftp.aset.psu.edu/pub/ger/fortran/hdk/nan.f90
Skip Knoble
On Thu, 12 Jul 2007 18:37:50 -0700, Ralf Schaa <schaa@xxxxxxxxxxxxxxxx> wrote:
-|People,
-|
-|looking at all the threads abouth this topic leaves me confused - I
-|could not find an answer to the following question:
-|
-|
-|if( var/var /= 1) then
-| write(*,*) 'This is a NAN or INF'
-|endif
-|
-|i) can I test wether a real variable is a number with this test?
-|ii) or is it highly dependent on what platform/compiler you are
-|using ?
-|iii) does it always work?
-|
-|Cheers
-|-Ralf
.
- References:
- NAN and INF again ...
- From: Ralf Schaa
- NAN and INF again ...
- Prev by Date: Re: A question about "Read" by key word?
- Next by Date: Re: NAN and INF again ...
- Previous by thread: Re: NAN and INF again ...
- Next by thread: Re: NAN and INF again ...
- Index(es):