Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29034 Discussions

FTN 64 bit file fmt -vs- 32 bit file fmt

frisbie
Beginner
374 Views

Can a Windows binary file written with64 bit Fortran be read by a 32 bit Fortran program? If not, is there a conversion utility? Also, what is the bit wise structure of say a 64 bit FTN double precision word (location of the mantissa and the exponent bits).

Thanks: tdko@comcast.net

0 Kudos
1 Reply
Steven_L_Intel1
Employee
374 Views
File formats are the same, as are datatypes. Double precision is the standard IEEE 754 double precision with one sign bit, 11 exponentbits and 52 fraction bits. And, while you didn't ask, many do - the default dataypes are also the same. Default REAL and default INTEGER are 32-bit types on both platforms.
0 Kudos
Reply