Here, we will dive into deep learning math package of go golang.
How to import math package in go golang:
import "math"
It provides basic constants and mathematical functions.
Constants
functions
- Abs()
- Acos()
- Acosh()
- Asin()
- Asinh()
- Atan()
- Atan2()
- Atanh()
- Cbrt()
- Ceil()
- Copysign()
- Cos()
- Cosh()
- Dim()
- Floor()
- Float64frombits()
- Float32frombits()
- Float64bits()
- Float32bits()
- Expm1()
- Exp2()
- Exp()
- Erfc()
- Erf()
- Jn()
- J1()
- J0()
- IsNaN()
- IsInf()
- Inf()
- Ilogb()
- Frexp()
- Hypot()
- Gamma()
- Mod()
- Min()
- Max()
- Logb()
- Log2()
- Log1p()
- Log10()
- Log()
- Lgamma()
- Ldexp()
- Signbit()
- RoundToEven()
- Round()
- Remainder()
- Pow10()
- Pow()
- Nextafter32()
- Nextafter()
- NaN()
- Modf()
- Yn()
- Y1()
- Y0()
- Trunc()
- Tanh()
- Tan()
- Sqrt()
- Sinh()
- Sincos()
- Sin()
bits package of math
To learn more about golang, Please refer given below link.
https://techieindoor.com/go-lang-tutorial/
References:
https://golang.org/doc/
https://golang.org/pkg/