- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
the implementation of MINLOC and MAXLOC does not conform to the F2k8 draft standard:
1 1
Expected:
0 0
Regards,
Harald
the implementation of MINLOC and MAXLOC does not conform to the F2k8 draft standard:
[bash] real :: a(0) print *, minloc (a), maxloc (a) end program [/bash]Output:
1 1
Expected:
0 0
Regards,
Harald
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Correct - it doesn't - by default. Use -standard-semantics to get F03 behavior including this one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A reason for not making this the default has been relatively poor performance for minloc/maxloc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see. I should take a note to always use -standard-semantics along with -stand f03.
Thanks,
Harald
Thanks,
Harald
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page