Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'

This commit is contained in:
Bjørn Erik Pedersen
2025-02-13 10:40:34 +01:00
817 changed files with 5301 additions and 14766 deletions

View File

@@ -17,7 +17,7 @@ action:
signatures: [math.Acos VALUE]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.Acos 1 }} → 0

View File

@@ -17,7 +17,7 @@ action:
signatures: [math.Asin VALUE]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.Asin 1 }} → 1.5707963267948966

View File

@@ -17,7 +17,7 @@ action:
signatures: [math.Atan VALUE]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.Atan 1 }} → 0.7853981633974483

View File

@@ -17,7 +17,7 @@ action:
signatures: [math.Atan2 VALUE VALUE]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.Atan2 1 2 }} → 0.4636476090008061

View File

@@ -17,7 +17,7 @@ action:
signatures: [math.Cos VALUE]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.Cos 1 }} → 0.5403023058681398

View File

@@ -17,7 +17,7 @@ action:
signatures: [math.Pi]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.Pi }} → 3.141592653589793

View File

@@ -15,7 +15,7 @@ action:
signatures: [math.Product VALUE...]
---
{{< new-in 0.114.0 >}}
{{< new-in 0.114.0 />}}
```go-html-template
{{ math.Product 1 (slice 2 3) 4 }} → 24

View File

@@ -10,7 +10,7 @@ action:
signatures: [math.Rand]
---
{{< new-in 0.121.2 >}}
{{< new-in 0.121.2 />}}
The `math.Rand` function returns a pseudo-random number in the half-open [interval](g) [0.0, 1.0).

View File

@@ -17,7 +17,7 @@ action:
signatures: [math.Sin VALUE]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.Sin 1 }} → 0.8414709848078965

View File

@@ -14,7 +14,7 @@ action:
signatures: [math.Sum VALUE...]
---
{{< new-in 0.114.0 >}}
{{< new-in 0.114.0 />}}
```go-html-template
{{ math.Sum 1 (slice 2 3) 4 }} → 10

View File

@@ -17,7 +17,7 @@ action:
signatures: [math.Tan VALUE]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.Tan 1 }} → 1.557407724654902

View File

@@ -12,7 +12,7 @@ action:
signatures: [math.ToDegrees VALUE]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.ToDegrees 1.5707963267948966 }} → 90

View File

@@ -12,7 +12,7 @@ action:
signatures: [math.ToRadians VALUE]
---
{{< new-in 0.130.0 >}}
{{< new-in 0.130.0 />}}
```go-html-template
{{ math.ToRadians 90 }} → 1.5707963267948966