http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57114
Bug #: 57114
Summary: wrong information at
http://gcc.gnu.org/onlinedocs/gfortran/RANK.html
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: web
AssignedTo: [email protected]
ReportedBy: [email protected]
There are are at least two things wrong at in the documentation of gfortran's
RANK intrinsic at http://gcc.gnu.org/onlinedocs/gfortran/RANK.html :
First,
RESULT = RANGE(A)
should read
RESULT = RANK(A)
and second, the example should have
print *, rank(a), rank(b) ! Prints: 0 2
instead of
print *, rank(a), rank(b) ! Prints: 0 3