summaryrefslogtreecommitdiffstats
path: root/Src/Modules/random.mdd
diff options
context:
space:
mode:
authorClinton Bunch <cdb_zsh@zentaur.org>2024-08-30 08:06:06 -0500
committerOliver Kiddle <opk@zsh.org>2024-08-31 13:12:10 +0200
commit58bda5913007f53c91ae60cd22483dd222ea5618 (patch)
tree891af8168364b66248714320cec8793a52951799 /Src/Modules/random.mdd
parentgithub #120: Update _git to reflect `--recursive` being an alias (diff)
downloadzsh-58bda5913007f53c91ae60cd22483dd222ea5618.tar
zsh-58bda5913007f53c91ae60cd22483dd222ea5618.tar.gz
zsh-58bda5913007f53c91ae60cd22483dd222ea5618.tar.bz2
zsh-58bda5913007f53c91ae60cd22483dd222ea5618.tar.lz
zsh-58bda5913007f53c91ae60cd22483dd222ea5618.tar.xz
zsh-58bda5913007f53c91ae60cd22483dd222ea5618.tar.zst
zsh-58bda5913007f53c91ae60cd22483dd222ea5618.zip
53056: new zsh/random module defining an SRANDOM parameter and zrand_float() and zrand_int() math functions
Diffstat (limited to 'Src/Modules/random.mdd')
-rw-r--r--Src/Modules/random.mdd7
1 files changed, 7 insertions, 0 deletions
diff --git a/Src/Modules/random.mdd b/Src/Modules/random.mdd
new file mode 100644
index 000000000..7a75f29ff
--- /dev/null
+++ b/Src/Modules/random.mdd
@@ -0,0 +1,7 @@
+name=zsh/random
+link=either
+load=yes
+
+autofeatures="p:SRANDOM f:zrand_float f:zrand_int"
+
+objects="random.o random_real.o"