- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
it appears that the output generated by the g edit descriptor has been changed between
version 12.1 and 13.0. Consider the following example:
print '(a,5g10.3)', "g10.3:", 0.0, 1.0, 1.23, 123., 1234.
print *
print '(a,5g10.1)', "g10.1:", 0.0, 1.0, 0.1, 0.01, 10.
end
With v12.1 I get:
g10.3: 0.00 1.00 1.23 123. 0.123E+04
g10.1: 0. 1. 0.1 0.1E-01 0.1E+02
while version 13.0.0.079 writes:
g10.3: 0.00 1.000 1.23 123. 0.123E+04
g10.1: 0. 1.0 0.1E+00 0.1E-01 0.1E+02
Is there a reason why 1. is printed differently with g10.3,
or similarly why 0.1 has an exponent for g10.1?
Regards,
Harald
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
I just checked this case with the following compiler version:
Intel(R) Fortran Compiler XE for applications running on IA-32, Version 14.0.1.106 Build 20131008
I now obtain:
g10.3: 0.00 1.00 1.23 123. 0.123E+04
g10.1: 0. 1. 0.1 0.1E-01 0.1E+02
This nicely agrees with the result from v12.1 and should be correct now.
Thanks,
Harald
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page