Miscellaneous corrections

This commit is contained in:
Joe Mooring
2024-01-05 05:34:25 -08:00
committed by GitHub
parent f12b7b74ed
commit e4a18946ea
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ action:
toc: true
---
{{< new-in 0.122.0 >}}
{{< new-in 0.121.2 >}}
## Usage
+2
View File
@@ -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
+1 -1
View File
@@ -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,&nbsp;1]&nbsp;is the interval where `0 <= x <= 1`.
- An _open_ interval, denoted by parenthesis, excludes its endpoints. For example, (0,&nbsp;1)&nbsp;is the interval where `0 < x < 1`.
- An _open_ interval, denoted by parentheses, excludes its endpoints. For example, (0,&nbsp;1)&nbsp;is the interval where `0 < x < 1`.
- A _half-open_ interval includes only one of its endpoints. For example, (0,&nbsp;1]&nbsp;is the _left-open_ interval where `0 < x <= 1`, while [0,&nbsp;1)&nbsp;is the _right-open_ interval where `0 <= x < 1`.