[flang-commits] [flang] [llvm] [flang/flang-rt] Adding support of RAND, IRAND and SRAND intrinsics (PR #166780)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Thu Nov 6 07:25:13 PST 2025


================
@@ -1379,3 +1379,46 @@ This is prefixed by `STRING`, a colon and a space.
 - **Standard:** GNU extension
 - **Class:** subroutine
 - **Syntax:** `CALL PERROR(STRING)`
+
+
+### Non-Standard Intrinsics: SRAND
+
+#### Description
+`SAND` reinitializes the pseudo-random number generator called by `RAND` and `IRAND`.
----------------
eugeneepshteyn wrote:

Typo, should be `SRAND`

https://github.com/llvm/llvm-project/pull/166780


More information about the flang-commits mailing list