When the current seed of the pseudo-random generator is queried
with CALL RANDOM_SEED(GET=n), that query should not change the
stream of pseudo-random numbers produced by CALL RANDOM_NUMBER().
Details
Details
Diff Detail
Diff Detail
Differential D127023
[flang][runtime] Don't let random seed queries change the sequence ClosedPublic Authored by klausler on Jun 3 2022, 3:59 PM.
Details Summary When the current seed of the pseudo-random generator is queried
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jun 3 2022, 4:56 PM Closed by commit rGea1a69d66dc7: [flang][runtime] Don't let random seed queries change the sequence (authored by klausler). · Explain WhyJun 4 2022, 8:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 434220 flang/runtime/random.cpp
|