From dba2d62d15d8233c189a109f97d7cda70fa7f6b7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 5 Mar 2025 00:22:40 -0500 Subject: Fix links --- docs/rng.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/rng.md') diff --git a/docs/rng.md b/docs/rng.md index 306f2015..58807ae9 100644 --- a/docs/rng.md +++ b/docs/rng.md @@ -19,14 +19,14 @@ This documentation provides details on RNG functions available in the API. [Arrays](arrays.md) also have some methods which use RNG values: `array:shuffle()`, `array:shuffled()`, `array:random()`, and `array:sample()`. -- [`func bool(rng: RNG, p: Num = 0.5 -> Bool)`](#`bool) -- [`func byte(rng: RNG -> Byte)`](#`byte) -- [`func bytes(rng: RNG, count: Int -> [Byte])`](#`bytes) -- [`func copy(rng: RNG -> RNG)`](#`copy) -- [`func int(rng: RNG, min: Int, max: Int -> Int)`](#`int`, `int64`, `int32`, `int16`, `int8) -- [`func new(seed: [Byte] = (/dev/urandom):read_bytes(40)! -> RNG)`](#`new) -- [`func num(rng: RNG, min: Num = 0.0, max: Num = 1.0 -> Int)`](#`num`, `num32) -- [`func set_seed(rng: RNG, seed: [Byte])`](#`set_seed) +- [`func bool(rng: RNG, p: Num = 0.5 -> Bool)`](#bool) +- [`func byte(rng: RNG -> Byte)`](#byte) +- [`func bytes(rng: RNG, count: Int -> [Byte])`](#bytes) +- [`func copy(rng: RNG -> RNG)`](#copy) +- [`func int(rng: RNG, min: Int, max: Int -> Int)`](#int`, `int64`, `int32`, `int16`, `int8) +- [`func new(seed: [Byte] = (/dev/urandom):read_bytes(40)! -> RNG)`](#new) +- [`func num(rng: RNG, min: Num = 0.0, max: Num = 1.0 -> Int)`](#num`, `num32) +- [`func set_seed(rng: RNG, seed: [Byte])`](#set_seed) ### `bool` -- cgit v1.2.3