Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

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

frisbie
Beginner
471 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
471 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