[all-commits] [llvm/llvm-project] 6facf6: [flang][runtime] Correct RANDOM_INIT seed generati...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed Sep 4 10:52:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6facf6981488700c1554dcce36d4ac774a91d568
https://github.com/llvm/llvm-project/commit/6facf6981488700c1554dcce36d4ac774a91d568
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M flang/runtime/random.cpp
Log Message:
-----------
[flang][runtime] Correct RANDOM_INIT seed generation (#106250)
The initial seed was generated from a bitwise AND ("&") of two
clock-generated values, instead of an XOR or (best) a truncated integer
multiplication. Maybe I mistyped a shift-7 instead of a shift-6 or
shift-8 when I wrote that line, but it was most likely just stupidity.
Fixes https://github.com/llvm/llvm-project/issues/106221.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list