DOUBLE PRECISION DCMPLX Converts an integer, real or complex argument to a COMPLEX*16 DFLOAT Converts an integer, real or complex argument to a DOUBLE PRECISION DREAL Converts a COMPLEX*16 argument to a REAL*8 FLOAT Converts an integer argument to a REAL*4 HFIX Converts...
INTEGER:表示整数类型,相当于C#的int数据类型 DOUBLEPRECISION:表示双精度数据类型,相当于C#的double数据类型。 在C#调用Fortran DLL是必须保证参数的一致性,例如在Fortran中变量定义的是REAL类型,而我们传入的是Double,那么就会出现计算错误。 三、编写C#代码调用Fortran DLL C#调用的Fortran的过程很简单,只需要注意上述说...
Double precision FORTRAN subroutines to compute both ordinary and modified bessel functions of the first kind and of integer order with arbitrary complex argument: Jn( x + jy) and On( x + jy)The use of ultrasound to convey data from one side of a metallic wall to the other side is ...
IDINTConverts a DOUBLE PRECISION or REAL*8 argument to an integer IFIXConverts a REAL*4 argument to an integer INTConverts an integer, real or complex argument to an integer INT1Converts an integer, real or complex argument to an INTEGER*1 INT2Converts an integer, real or complex argume...
LOGICAL*4 LOGICAL*8 INTEGER*2 INTEGER*4 INTEGER*8 REAL REAL*4 REAL*8 REAL*16 (SPARC only) DOUBLE PRECISION COMPLEX COMPLEX*8 COMPLEX*16 COMPLEX*32 (SPARC only) DOUBLE COMPLEX 1 1 2 4 8 2 4 8 4 4 8 16 8 8 8 16 32 16 In...
VEC_SPLATID(ARG1) Converts an immediate single-precision floating-point value to double precision, and copies the result into every element of a vector. VEC_SLDB(ARG1, ARG2, ARG3) Shifts a double-wide vector left by given bits and returns the leftmost 128 bits of the shift result. VEC_...
LOGICAL*4 LOGICAL*8 INTEGER*2 INTEGER*4 INTEGER*8 REAL REAL*4 REAL*8 REAL*16 (SPARC only) DOUBLE PRECISION COMPLEX COMPLEX*8 COMPLEX*16 COMPLEX*32 (SPARC only) DOUBLE COMPLEX 1 1 2 4 8 2 4 8 4 4 8 16 8 8 8 16 32 16 In...
The Fortran preprocessor converts mwPointer to integer*4 when building binary MEX files on 32-bit platforms and to integer*8 when building on 64-bit platforms. Note Declaring a pointer to be the incorrect size might cause your program to crash. ...
ierr) integer,intent(in) :: comm , myid, nprocs, ierr integer,intent(in) :: n0,n1 complex,dimension(local_ni,n1),intent(in) :: array_in complex,dimension(local_ni,n1),intent(out) :: array_out complex(c_double_complex),dimension(local_ni,n1) :: in_c complex(c_double_complex),...
This program demonstrates using Fortran coarrays to implement the classic ! method of computing the mathematical value pi using a Monte Carlo technique. ! ! Compiler options: /Qcoarray ! -coarray ! implicit none ! Declare kind values for large integers, single an...