hugo/docs/content/en/functions/math/Acos.md
raoulb 9d2b5f98d0
math: Add trigonometric functions and some angle helper functions
This commit adds these new template functions in the `math` namespace:

math.Acos
math.Asin
math.Atan
math.Atan2
math.Cos
math.Pi
math.Sin
math.Tan
math.ToDegrees
math.ToRadians

Co-authored-by: Joe Mooring <joe@mooring.com>
2024-07-29 11:05:36 +02:00

24 lines
460 B
Markdown

---
title: math.Acos
description: Returns the arccosine, in radians, of the given number.
categories: []
keywords: []
action:
aliases: []
related:
- functions/math/Asin
- functions/math/Atan
- functions/math/Atan2
- functions/math/Pi
- functions/math/Sin
- functions/math/Cos
- functions/math/Tan
returnType: float64
signatures: [math.Acos VALUE]
---
{{< new-in 0.130.0 >}}
```go-html-template
{{ math.Acos 1 }} → 0
```