public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/67039] New: Documentation of pseudorandom number intrinsics is incorrect
@ 2015-07-28  3:27 spam.brian.taylor at gmail dot com
  2015-07-28  6:17 ` [Bug fortran/67039] " kargl at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: spam.brian.taylor at gmail dot com @ 2015-07-28  3:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67039

            Bug ID: 67039
           Summary: Documentation of pseudorandom number intrinsics is
                    incorrect
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: spam.brian.taylor at gmail dot com
  Target Milestone: ---

The gfortran documentation for the RANDOM_NUMBER and RANDOM_SEED subroutines
indicates that they are part of Fortran 95 and later.  In fact, they were
included in the Fortran 90 standard.

The gfortran documentation for the SRAND subroutine, a GNU extension, includes
in the "Notes" section the following: "The Fortran 2003 standard specifies the
intrinsic RANDOM_SEED to initialize the pseudo-random numbers generator and
RANDOM_NUMBER to generate pseudo-random numbers."  The reference here should be
to the Fortran 90 standard, not 2003.

https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gfortran/RANDOM_005fNUMBER.html#RANDOM_005fNUMBER

https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gfortran/RANDOM_005fSEED.html#RANDOM_005fSEED

https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gfortran/SRAND.html#SRAND


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-30 22:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-28  3:27 [Bug fortran/67039] New: Documentation of pseudorandom number intrinsics is incorrect spam.brian.taylor at gmail dot com
2015-07-28  6:17 ` [Bug fortran/67039] " kargl at gcc dot gnu.org
2015-08-29 15:21 ` dominiq at lps dot ens.fr
2015-08-29 15:48 ` kargl at gcc dot gnu.org
2015-08-30 10:34 ` dominiq at lps dot ens.fr
2015-09-30 22:20 ` kargl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).