mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 12:16:55 +00:00
Miscellaneous corrections
This commit is contained in:
1 parent
f12b7b74ed
commit
e4a18946ea
3 files changed
+4
-2
No files matched your search
@@ -13,7 +13,7 @@ action:
|
|||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< new-in 0.122.0 >}}
|
{{< new-in 0.121.2 >}}
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ action:
|
|||||||
signatures: [math.Rand]
|
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).
|
The `math.Rand` function returns a pseudo-random number in the [half-open interval] [0.0, 1.0).
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
|
|||||||
@@ -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`.
|
- 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`.
|
- 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`.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user