ifort functions for test NaN and Inf




Hello,

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.

Thanks

.



Relevant Pages

  • Re: Difficult example?
    ... If the data object being declared depends on the ... A reference to any other intrinsic function defined in this ... An elemental intrinsic function reference where each argument ...
    (comp.lang.fortran)
  • Re: ifort functions for test NaN and Inf
    ... Anybody knows an intrinsic function for testing if a variable is ... I have found in the reference the function ISNAN but not the ... equivalent for INF. ... So if NaN is already ruled out, ...
    (comp.lang.fortran)
  • Re: FUNCTION LENGTH
    ... What is posted below is 100% correct for Enterprise COBOL and for the Intrinsic ... compilers) this has been expanded so that a numeric intrinsic function may be ... Probably it follows the standard, though I can't imagine why the standard ... From the COBOL Language Reference: ...
    (comp.lang.cobol)
  • Re: Fortran standard question: intrinsic procedure as actual argument
    ... And "that 'scale' is referenced by a function call" is the difference which means it isn't analogous at all--it's completely different code. ... There is nothing at all that is very similar at all between your cases 3) and 4) in comparison to 1) and 2) except you chose the same name for a variable as an intrinsic function of the same name. ... That it is a function as opposed to a reference to the intrinsic has everything to do w/ context and nothing whatsoever to do w/ the spelling of the name. ...
    (comp.lang.fortran)
  • Re: ifort functions for test NaN and Inf
    ... Anybody knows an intrinsic function for testing if a variable is ... I have found in the reference the function ISNAN but not the ... ISNAN is not standard. ... However your compiler might not support this yet, ...
    (comp.lang.fortran)