Re: ifort functions for test NaN and Inf
- From: Ian Bush <I.J.Bush@xxxxxxxx>
- Date: Wed, 18 Jul 2007 12:18:43 +0100
Hi,
As if by magic, ddb78s@xxxxxxxxx appeared !
Anybody knows an intrinsic function for testing if a variable is
-+INF. I have found in the reference the function ISNAN but not the
equivalent for INF.
ISNAN is not standard. To perform either of these tests you will either
need a non-standard extension ( e.g. ISNAN ), so look in your compiler
docs, or, and much better, use the IEEE stuff in Fortran 2003. See
e.g.
http://docs.sun.com/app/docs/doc/819-5259/6n7bsi97k?a=view
However your compiler might not support this yet,
Ian
.
- Follow-Ups:
- Re: ifort functions for test NaN and Inf
- From: James Giles
- Re: ifort functions for test NaN and Inf
- From: Tim Prince
- Re: ifort functions for test NaN and Inf
- References:
- ifort functions for test NaN and Inf
- From: ddb78s@xxxxxxxxx
- ifort functions for test NaN and Inf
- Prev by Date: ifort functions for test NaN and Inf
- Next by Date: unresolved external symbol while calling setvbuf3f
- Previous by thread: ifort functions for test NaN and Inf
- Next by thread: Re: ifort functions for test NaN and Inf
- Index(es):
Relevant Pages
|