- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, there is a bug in g-formatting which makes the following example program ifort_g_format_bug write (*,'(g6.1)') 1.0 ! Expected output: 1. end program ifort_g_format_bug output '******' (6 stars) instead of '1.'. All other compilers I tested produce the expected output. Harald
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wish the user interface were more user-friendly. I can hardly recognize the code I posted.
program ifort_g_format_bug
write (*,'(g6.1)') 1.0 ! Expected output: 1.
end program ifort_g_format_bug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is fixed in the version coming out in September.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good to know!
Thanks,
Harald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
this issue appears to be fixed now. With
Intel(R) Fortran Compiler XE for applications running on IA-32, Version 14.0.1.106 Build 20131008
I get the expected result.
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