This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]