You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
support for dfloat function, extension or standard? #1077
DFLOAT is not a standard intrinsic procedure of Fortran. DBLE(n) and REAL(n,KIND=KIND(0.0d0)) are standard equivalents for integer n; so is (0.0d0+(n)). We'll probably support DFLOAT in f18 for better portability, but new code should avoid it.
Activity
klausler commentedon Mar 27, 2020
DFLOATis not a standard intrinsic procedure of Fortran.DBLE(n)andREAL(n,KIND=KIND(0.0d0))are standard equivalents for integern; so is(0.0d0+(n)). We'll probably supportDFLOATin f18 for better portability, but new code should avoid it.naromero77 commentedon Apr 2, 2020
Thanks for clarifying the correct way to do this. So far, I have only encountered this construct in one DOE code -- a rather old one at that.
If we are prioritizing non-standard extensions, it would be more important to get this one implemented
sizeof:#1020
As now I have found several DOE codes that make use of it.