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.
29281 Discussions

question about reading double precision values from text files

Brian_Murphy
New Contributor II
531 Views

I am having Microsoft excel write Double values to a text file so fortran can read them from the file.

double precision :: x

READ(unitnumber, * ) x

Does is matter if the text file contains 1.23  1.23E0 or 1.23D0 ?

 

0 Kudos
2 Replies
Steve_Lionel
Honored Contributor III
531 Views

No, it does not matter.

0 Kudos
Brian_Murphy
New Contributor II
531 Views

Thanks, Steve.  That's what I was finding from some hasty testing, and it's comforting to have it confirmed.

0 Kudos
Reply