From c4daabd2e3b6550edad38ce985f0b26e94954df4 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Fri, 5 Jan 2024 05:33:30 -0800 Subject: [PATCH] Miscellaneous corrections --- content/en/functions/images/AutoOrient.md | 2 +- content/en/functions/math/Rand.md | 2 ++ content/en/getting-started/glossary.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/content/en/functions/images/AutoOrient.md b/content/en/functions/images/AutoOrient.md index 588f4874c5..8f27a95d8c 100644 --- a/content/en/functions/images/AutoOrient.md +++ b/content/en/functions/images/AutoOrient.md @@ -13,7 +13,7 @@ action: toc: true --- -{{< new-in 0.122.0 >}} +{{< new-in 0.121.2 >}} ## Usage diff --git a/content/en/functions/math/Rand.md b/content/en/functions/math/Rand.md index 4cdf02fd34..4f71cfcdff 100644 --- a/content/en/functions/math/Rand.md +++ b/content/en/functions/math/Rand.md @@ -10,6 +10,8 @@ action: signatures: [math.Rand] --- +{{< new-in 0.121.2 >}} + The `math.Rand` function returns a pseudo-random number in the [half-open interval] [0.0, 1.0). ```go-html-template diff --git a/content/en/getting-started/glossary.md b/content/en/getting-started/glossary.md index dce3d15279..a73e301fb6 100644 --- a/content/en/getting-started/glossary.md +++ b/content/en/getting-started/glossary.md @@ -153,7 +153,7 @@ An [interval](https://en.wikipedia.org/wiki/Interval_(mathematics)) is a range o - A _closed_ interval, denoted by brackets, includes its endpoints. For example, [0, 1] is the interval where `0 <= x <= 1`. -- An _open_ interval, denoted by parenthesis, excludes its endpoints. For example, (0, 1) is the interval where `0 < x < 1`. +- An _open_ interval, denoted by parentheses, excludes its endpoints. For example, (0, 1) is the interval where `0 < x < 1`. - A _half-open_ interval includes only one of its endpoints. For example, (0, 1] is the _left-open_ interval where `0 < x <= 1`, while [0, 1) is the _right-open_ interval where `0 <= x < 1`.