[Bug web/57114] New: wrong information at http://gcc.gnu.org/onlinedocs/gfortran/RANK.html

kay.diederichs@uni-konstanz.de gcc-bugzilla@gcc.gnu.org
Mon Apr 29 14:34:00 GMT 2013


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: unassigned@gcc.gnu.org
        ReportedBy: kay.diederichs@uni-konstanz.de


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



More information about the Gcc-bugs mailing list