[Bug libfortran/32812] New: random_seed and date_and_time

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 18 21:30:00 GMT 2007


As described in <OfqdnaPWZ-DR5wPbnZ2dnUVZ_qm3nZ2d@comcast.com>,
the interaction between date_and_time and random_seed
when getting a seed from date_and_time.

Currently, we use the first four values of the put argument
to random_seed for the most significant digits.  Unfortunately,
these correspond to the most slowly varying values from
date_and_time.

Some reshuffling could take care of this.


-- 
           Summary: random_seed and date_and_time
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32812



More information about the Gcc-bugs mailing list