-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
This dfloat intrinsic function appears frequently in a DOE code. Here is a reduced test case that shows a canonical example of how it is used:
subroutine fwdcpfft_comp(psi, nr1, nr2, nr3)
implicit none
integer nr1, nr2, nr3
complex*16 psi(nr1, nr2, nr3)
real*8 fac
fac = 1.0d0/dfloat(nr1*nr2*nr3)
end
Is this part of the Fortran standard or an extension?
https://gcc.gnu.org/onlinedocs/gcc-4.4.1/gfortran/DFLOAT.html
https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference-dfloat
Is this really even necessary to have such an intrinsic? Wouldn't a compiler's type promotion heuristics automatically handle this?
Metadata
Metadata
Assignees
Labels
No labels