Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Using INTEGER(8) in an INTEGER(4) interface

$
0
0

Hi,

I have a question regarding the use of integers of different kind. I am using a library (Intel MKL) which requires INTEGER(4). However, calling this library with variables of kind INTEGER(8) produces identical results. 

I have also tested this myself by calling my own method taking an INTEGER(4) with an INTEGER(8).

However, the other way around does not work: calling a method taking an INTEGER(8) with an INTEGER(4).

Is this behavior guaranteed with Intel Fortran?

Jens

 

 


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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