1
0
Fork 0
hugo/tpl/math
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
..
init.go math: Add trigonometric functions and some angle helper functions 2024-07-29 11:05:36 +02:00
math.go math: Add trigonometric functions and some angle helper functions 2024-07-29 11:05:36 +02:00
math_test.go math: Add trigonometric functions and some angle helper functions 2024-07-29 11:05:36 +02:00
round.go all: Format files with gofmt 2023-10-05 14:45:55 +02:00