summaryrefslogtreecommitdiffstats
path: root/stdlib/doc-syms.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-10-25 07:29:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-10-25 07:29:11 -0700
commit76b97f2c904c4e52d11e89406a9491aef77ef438 (patch)
tree06e454db8c86cf2e376e61e6f75c59ad21f3e673 /stdlib/doc-syms.tl
parent23ff8e0205eabea96a109efd249f82dd562cf74e (diff)
downloadtxr-76b97f2c904c4e52d11e89406a9491aef77ef438.tar.gz
txr-76b97f2c904c4e52d11e89406a9491aef77ef438.tar.bz2
txr-76b97f2c904c4e52d11e89406a9491aef77ef438.zip
random: new function random-float-incl.
This function includes the 1.0 value excluded by random-float. * rand.c (random_float_incl): New static function. (rand_init): Register random_float_incl intrinsic. * txr.1: Document, and add discussion about uniformity requirements and what they mean and do not mean. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib/doc-syms.tl')
-rw-r--r--stdlib/doc-syms.tl3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl
index 295471c2..38f5dc7b 100644
--- a/stdlib/doc-syms.tl
+++ b/stdlib/doc-syms.tl
@@ -1530,7 +1530,8 @@
("random" "N-03A57C86")
("random-buf" "N-00161346")
("random-fixnum" "N-03A57C86")
- ("random-float" "N-01572D27")
+ ("random-float" "N-0336F715")
+ ("random-float-inc" "N-0336F715")
("random-state-get-vec" "N-005C0F98")
("random-state-p" "N-00C9A749")
("range" "N-033BE5A1")