Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

Initializing allocatable arrays to NaN

$
0
0

Hello,

 

A search indicates that this question was asked (in the Fortran for Windows Forum) before, but that was three years ago, and I can't find any update.

I'm using Intel Fortran version16.1 and I'd like to initialize allocatable arrays to NaN to aid in debugging.  I am familiar with the -ftrapuv and -init=snan,array options but it is my understanding they do not work for allocatable arrays.  The answer in the three year old question I found was "it is something we are working on for the future".  It is now the "future", and since that topic is closed, I've opened a new question to ask again.  Has that capability been added?  Or is it still part of future plans?

Chris Harrop


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>